diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-25 09:14:16 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:52 -0700 |
commit | 8212acc9925b28ecd546b01047c6a8fc574326ef (patch) | |
tree | f4ce765228f3bb2511a186373eb2b3394b647709 /commands | |
parent | d82a7b8b73c13451f469832d6402303ccf2ee3d3 (diff) | |
download | subsurface-8212acc9925b28ecd546b01047c6a8fc574326ef.tar.gz |
cleanup: break out event-related code into event.[c|h]
In an effort to reduce the size of dive.h and dive.c, break out
the event related functions. Moreover event-names were handled
by the profile-code, collect that also in the new source files.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/command_event.cpp | 1 | ||||
-rw-r--r-- | commands/command_event.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/commands/command_event.cpp b/commands/command_event.cpp index 391dfe0a9..11b9a56fc 100644 --- a/commands/command_event.cpp +++ b/commands/command_event.cpp @@ -2,6 +2,7 @@ #include "command_event.h" #include "core/dive.h" +#include "core/event.h" #include "core/selection.h" #include "core/subsurface-qt/divelistnotifier.h" #include "core/libdivecomputer.h" diff --git a/commands/command_event.h b/commands/command_event.h index b7e67f218..b9662ecd4 100644 --- a/commands/command_event.h +++ b/commands/command_event.h @@ -6,7 +6,6 @@ #include "command_base.h" - // We put everything in a namespace, so that we can shorten names without polluting the global namespace namespace Command { |