summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Pierre-Yves Chibon <pingou@pingoured.fr>2013-02-01 09:28:33 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-02 00:10:14 +1100
commit20d3b5f71495adccf59d27095445a0d2e63b6a09 (patch)
tree15b34a49533609ff8ed19de8dd3f62d4752e4f10 /dive.h
parent60f9c338e9ddcc18495758ac7ad6926cce5af44d (diff)
downloadsubsurface-20d3b5f71495adccf59d27095445a0d2e63b6a09.tar.gz
Add 'Save As' entry to context menu shown when right clicking on a dive
Something which is nice especially when asked on the list to share an interesting dive is the possibility to save just some dives into a file. This commit adds to the context menu shown with right-click the 'Save As' entry. This entry allows to save selected dives. [Dirk Hohndel: clean up white space, commit message and remove unused variables] Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr> Signed-off-by: Dirk Hohndel <dirk@hohndel.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 2b24ed932..3236e888f 100644
--- a/dive.h
+++ b/dive.h
@@ -515,6 +515,7 @@ extern void show_yearly_stats(void);
extern void update_dive(struct dive *new_dive);
extern void save_dives(const char *filename);
+extern void save_dives_logic(const char *filename, gboolean select_only);
extern timestamp_t utc_mktime(struct tm *tm);
extern void utc_mkdate(timestamp_t, struct tm *tm);