aboutsummaryrefslogtreecommitdiffstats
path: root/core/parse.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-25 09:14:16 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:52 -0700
commit8212acc9925b28ecd546b01047c6a8fc574326ef (patch)
treef4ce765228f3bb2511a186373eb2b3394b647709 /core/parse.h
parentd82a7b8b73c13451f469832d6402303ccf2ee3d3 (diff)
downloadsubsurface-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 'core/parse.h')
-rw-r--r--core/parse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/parse.h b/core/parse.h
index 7c4529739..224403585 100644
--- a/core/parse.h
+++ b/core/parse.h
@@ -4,7 +4,9 @@
#define MAX_EVENT_NAME 128
-#include "dive.h" // for struct event!
+#include "event.h"
+#include "picture.h"
+#include "dive.h" // for "struct extra_data"
#include "filterpreset.h"
#include <sqlite3.h>