diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-08 11:35:50 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-15 06:03:13 -0800 |
commit | 4a146f9e57bf63c3555ebc048acc2012229fe08a (patch) | |
tree | 7c03284d1e737386bca93321ddff6b0222d1b445 /pref.h | |
parent | 3521cdcbd6bb2e282249286afe16b066e4af30e8 (diff) | |
download | subsurface-4a146f9e57bf63c3555ebc048acc2012229fe08a.tar.gz |
Add 'system_default_directory()' helper function
This is just a extern "C" wrapper around QStandardPaths::AppDataLocation,
while also making sure the entry exists.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r-- | pref.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -94,6 +94,8 @@ extern struct preferences prefs, default_prefs; extern const char *system_divelist_default_font; extern double system_divelist_default_font_size; + +extern const char *system_default_directory(void); extern const char *system_default_filename(); extern bool subsurface_ignore_font(const char *font); extern void subsurface_OS_pref_setup(); |