summaryrefslogtreecommitdiffstats
path: root/core/pref.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-08-10 15:50:00 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-27 10:58:13 -0700
commit5c8b87b5fdd73310447589771e68ea387aedfa6c (patch)
treeaf7bfe938c69061bc3391541d73f3ff0f051573a /core/pref.h
parent4f2057cd3077f0d91ec3696b96fa5ef6cfcf1755 (diff)
downloadsubsurface-5c8b87b5fdd73310447589771e68ea387aedfa6c.tar.gz
Settings update: Add UpdateManagerSettings to SettingsObjectWrapper
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/pref.h')
-rw-r--r--core/pref.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h
index 617e349c1..304bc0b63 100644
--- a/core/pref.h
+++ b/core/pref.h
@@ -43,6 +43,12 @@ enum deco_mode {
VPMB
};
+typedef struct {
+ bool dont_check_for_updates;
+ char *last_version_used;
+ char *next_check;
+} update_manager_prefs_t;
+
struct preferences {
const char *divelist_font;
const char *default_filename;
@@ -134,6 +140,7 @@ struct preferences {
bool git_local_only;
short cloud_timeout;
locale_prefs_t locale; //: TODO: move the rest of locale based info here.
+ update_manager_prefs_t update_manager;
};
enum unit_system_values {
METRIC,