summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-09 09:06:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-09 17:38:01 -0700
commitb73f29fea3ae88a06d8f773a6d48510520c127f0 (patch)
treed04166fd6e2fde7d716fe69cbfe35330e79cd1b9 /dive.h
parentb6812946319080699f6071656f09d402d23d3e46 (diff)
downloadsubsurface-b73f29fea3ae88a06d8f773a6d48510520c127f0.tar.gz
First cut of adding a default file name
The default file name is OS specific and tries to follow the customs on each of the OSs. It can be configured through the preferences dialog. On MacOS we get a strange warning which appears to be a well documented Gtk bug on MacOS. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 29814c34e..746b94093 100644
--- a/dive.h
+++ b/dive.h
@@ -459,6 +459,8 @@ const char *monthname(int mon);
#define FIVE_STARS UTF8_BLACKSTAR UTF8_BLACKSTAR UTF8_BLACKSTAR UTF8_BLACKSTAR UTF8_BLACKSTAR
extern const char *star_strings[];
+extern const char *default_filename;
+extern const char *subsurface_default_filename(void);
#define AIR_PERMILLE 209
#endif /* DIVE_H */