diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-12-23 21:45:06 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-24 06:38:12 -0800 |
commit | 14a858cf2a9e9dfd113dad049625bdb055830478 (patch) | |
tree | 3dbd3d00748444e5443d6267ecbba2e179393784 /pref.h | |
parent | 5aa9fc6fe76837181d523bad768209556dfca90e (diff) | |
download | subsurface-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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, |