diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-27 13:11:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-27 13:11:54 -0700 |
commit | e3bdfc2dc357e362a695632a3e0ee24095bb5b5a (patch) | |
tree | 26f91dd877b4f766e772e3ca47f8705d0a6aedc9 /dive.h | |
parent | d4b0ce1c86d420a308770a598a07c3815778dc57 (diff) | |
download | subsurface-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |