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>
This commit is contained in:
Dirk Hohndel 2012-09-09 09:06:44 -07:00
parent b681294631
commit b73f29fea3
7 changed files with 168 additions and 6 deletions

2
dive.h
View file

@ -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 */