aboutsummaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-21 12:28:20 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-21 12:28:20 -0700
commitd94fb7ca6b4fc17dacd069522d7fad00aa69e088 (patch)
tree06afae13d3b894aa835b78af88d270aabd2c4c5f /dive.h
parent51486040686592965bd7a70cf52767350cfde5f6 (diff)
parenta817f4b547b4193d31154fd0ff7f5190ccae76a5 (diff)
downloadsubsurface-d94fb7ca6b4fc17dacd069522d7fad00aa69e088.tar.gz
Merge branch 'quit-handling' of git://github.com/dirkhh/subsurface
* 'quit-handling' of git://github.com/dirkhh/subsurface: Use the last (or only) filename on command line as default for saving Show the "save changes" dialog before the main window is destroyed Check for changes at regular 'quit' events as well Catch changes to the info of the current dive when quitting Tracking changes to tanks is trivial Simplistic first attempt to get changes saved when quitting subsurface
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 fc458d04d..e1a5bc007 100644
--- a/dive.h
+++ b/dive.h
@@ -197,6 +197,7 @@ static inline struct dive *get_dive(unsigned int nr)
extern void parse_xml_init(void);
extern void parse_xml_file(const char *filename, GError **error);
+extern void set_filename(const char *filename);
extern void show_dive_info(struct dive *);
extern void flush_dive_info_changes(struct dive *);