summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 00:14:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 00:14:39 -0700
commit7f4e4b16ed897b784df1066621d3368676907efb (patch)
tree9f9b1ef637dda4d7919d6ed8ba322677640d8ea1 /dive.h
parent83eb64a9ef5281a28378af8cb252ec5329b0d142 (diff)
downloadsubsurface-7f4e4b16ed897b784df1066621d3368676907efb.tar.gz
Disable unused function
I am not removing this but leaving it around as this is useful for a feature that we still need to enable - the ability to filter out which events to display. This existed in 3.1 but is missing in the Qt version. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index d466643d2..8657ffe13 100644
--- a/dive.h
+++ b/dive.h
@@ -646,7 +646,11 @@ extern void add_event(struct divecomputer *dc, int time, int type, int flags, in
extern void add_cylinder_description(cylinder_type_t *);
extern void add_weightsystem_description(weightsystem_t *);
extern void remember_event(const char *eventname);
-extern int evn_foreach(void (*callback)(const char *, int *, void *), void *data);
+
+#if WE_DONT_USE_THIS /* this is a missing feature in Qt - selecting which events to display */
+extern int evn_foreach(void (*callback)(const char *, bool *, void *), void *data);
+#endif /* WE_DONT_USE_THIS */
+
extern void clear_events(void);
extern void set_dc_nickname(struct dive *dive);