From 8212acc9925b28ecd546b01047c6a8fc574326ef Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 25 Oct 2020 09:14:16 +0100 Subject: 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 --- commands/command_event.cpp | 1 + commands/command_event.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') 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 { -- cgit v1.2.3-70-g09d2