mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Save and restore Facebook Prefs.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5aa9fc6fe7
commit
14a858cf2a
4 changed files with 77 additions and 12 deletions
7
pref.h
7
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue