summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-11-19 10:11:56 -0500
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-11-19 10:11:56 -0500
commit1efcf4538b8a034e8b288d5b9c375ba99b1d845f (patch)
tree71f9227a97e3311fd2cc1e32033f33b7d1a04fed /dive.h
parent842b05415fac862e73cdbf3446dc801dbd2c156a (diff)
downloadsubsurface-1efcf4538b8a034e8b288d5b9c375ba99b1d845f.tar.gz
Make double-clicking on the dive list bring up the dive editor
Now that the dive info window is read-only, we need to edit the dives some other way. We bring up a dive info edit dialog when you double-click on the dive list entry for that dive. I do want to have an "edit" button or keyboard shortcut or something too, though. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dive.h b/dive.h
index 0116a1cf7..ccb007dcb 100644
--- a/dive.h
+++ b/dive.h
@@ -259,10 +259,8 @@ extern xmlDoc *test_xslt_transforms(xmlDoc *doc);
#endif
extern void show_dive_info(struct dive *);
-extern void flush_dive_info_changes(struct dive *);
extern void show_dive_equipment(struct dive *);
-extern void flush_dive_equipment_changes(struct dive *);
extern void show_dive_stats(struct dive *);
@@ -304,6 +302,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 edit_dive_info(struct dive *dive);
extern void dive_list_update_dives(void);
extern void flush_divelist(struct dive *dive);