summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-06-27 13:11:54 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-06-27 13:11:54 -0700
commite3bdfc2dc357e362a695632a3e0ee24095bb5b5a (patch)
tree26f91dd877b4f766e772e3ca47f8705d0a6aedc9 /dive.h
parentd4b0ce1c86d420a308770a598a07c3815778dc57 (diff)
downloadsubsurface-e3bdfc2dc357e362a695632a3e0ee24095bb5b5a.tar.gz
Rough "Add new dive" infrastructure in the divelist
Do a right-click to get a menu with the "Add dive" entry. Should do delete too, but that's for later. What's also apparently for later is to make this *useful*. It's the butt-ugliest time entry field ever, and there's no way to set depth for the dive either. So this is more of a RFC than anything truly useful. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 6b5c77816..a25fafb39 100644
--- a/dive.h
+++ b/dive.h
@@ -343,6 +343,7 @@ extern void add_location(const char *string);
extern void remember_event(const char *eventname);
extern void evn_foreach(void (*callback)(const char *, int *, void *), void *data);
+extern int add_new_dive(struct dive *dive);
extern int edit_dive_info(struct dive *dive);
extern void dive_list_update_dives(void);
extern void flush_divelist(struct dive *dive);