summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-20 21:50:26 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-21 11:35:20 -0700
commita817f4b547b4193d31154fd0ff7f5190ccae76a5 (patch)
tree27d82a086d9b653badc422f7531fd8323570f2e9 /dive.h
parent8a8ad3f9978c47d9ba10085236e6e6722949b5e2 (diff)
downloadsubsurface-a817f4b547b4193d31154fd0ff7f5190ccae76a5.tar.gz
Use the last (or only) filename on command line as default for saving
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 85fdabf5d..9cdfd61b0 100644
--- a/dive.h
+++ b/dive.h
@@ -195,6 +195,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 *);