diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-11 10:14:10 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-11 12:19:34 -0800 |
commit | e8a896b64d0abb7d85d7aefb6ba551a22f720ffd (patch) | |
tree | 19213a00a86d7c88a887d4a5a28c9218b0498e8f /pref.h | |
parent | c4ae58d589bdf315223c41716ca4b0ae747a8498 (diff) | |
download | subsurface-e8a896b64d0abb7d85d7aefb6ba551a22f720ffd.tar.gz |
Update preference saving for numeric values
This does the "don't save defaults" for numeric values too.
Also, move the preferences loading/saving to a new "prefs.c" file.
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 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -45,4 +45,10 @@ extern int subsurface_get_conf_bool(char *name); extern void subsurface_flush_conf(void); extern void subsurface_close_conf(void); +/* Misc preferences - should we have defaults for these too? */ +extern const char *divelist_font; + +extern void load_preferences(void); +extern void save_preferences(void); + #endif /* PREF_H */ |