diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-10-25 00:29:19 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-10-25 01:05:08 -0700 |
commit | 5ca49b0460f36ac969b7ef388f586782d584b36d (patch) | |
tree | a5f78fbfd004d9823680a752adb32c84799f6b00 /dive.h | |
parent | c4691306c40dedc61110174dde15310c359abb6a (diff) | |
download | subsurface-5ca49b0460f36ac969b7ef388f586782d584b36d.tar.gz |
Remember the event names as we encounter them
First step to being able to filter the events that we display in the
profile. We could (in theory) walk all the dives in the divelist when we
need this data, but it seems much more convenient to have them in an array
in one place.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -262,6 +262,7 @@ extern void report_error(GError* error); extern void add_cylinder_description(cylinder_type_t *); extern void add_people(const char *string); extern void add_location(const char *string); +extern void remember_event(const char *eventname); extern void dive_list_update_dives(void); extern void flush_divelist(struct dive *dive); |