summaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-23 21:45:06 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-24 06:38:12 -0800
commit14a858cf2a9e9dfd113dad049625bdb055830478 (patch)
tree3dbd3d00748444e5443d6267ecbba2e179393784 /pref.h
parent5aa9fc6fe76837181d523bad768209556dfca90e (diff)
downloadsubsurface-14a858cf2a9e9dfd113dad049625bdb055830478.tar.gz
Save and restore Facebook Prefs.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r--pref.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pref.h b/pref.h
index 733a194bf..16336f22f 100644
--- a/pref.h
+++ b/pref.h
@@ -18,6 +18,12 @@ typedef struct
double phe_threshold;
} partial_pressure_graphs_t;
+typedef struct {
+ char *user_id;
+ char *access_token;
+ char *album_name;
+} facebook_prefs_t;
+
struct preferences {
const char *divelist_font;
const char *default_filename;
@@ -71,6 +77,7 @@ struct preferences {
int pscr_ratio; // dump ratio times 1000
bool show_pictures_in_profile;
bool use_default_file;
+ facebook_prefs_t facebook;
};
enum unit_system_values {
METRIC,