mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d4b0ce1c86
commit
e3bdfc2dc3
3 changed files with 130 additions and 0 deletions
1
dive.h
1
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue