summaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
Diffstat (limited to 'pref.h')
-rw-r--r--pref.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pref.h b/pref.h
index c7e0ad8ee..16578030c 100644
--- a/pref.h
+++ b/pref.h
@@ -89,6 +89,7 @@ struct preferences {
int defaultsetpoint; // default setpoint in mbar
bool show_pictures_in_profile;
bool use_default_file;
+ short default_file_behavior;
facebook_prefs_t facebook;
char *cloud_storage_password;
char *cloud_storage_email;
@@ -103,6 +104,13 @@ enum unit_system_values {
PERSONALIZE
};
+enum def_file_behavior {
+ UNDEFINED_DEFAULT_FILE,
+ LOCAL_DEFAULT_FILE,
+ NO_DEFAULT_FILE,
+ CLOUD_DEFAULT_FILE
+};
+
extern struct preferences prefs, default_prefs;
#define PP_GRAPHS_ENABLED (prefs.pp_graphs.po2 || prefs.pp_graphs.pn2 || prefs.pp_graphs.phe)