diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-08-10 18:10:15 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-27 11:40:44 -0700 |
commit | db8e8957abc8b8dc407a94835e686f649c9643a6 (patch) | |
tree | 5c21bd7e9a4174704e1c53752146c1229464b2bc /core/pref.h | |
parent | b264c3e36704c83a6c9353fe5eac3dc0eb3c9a80 (diff) | |
download | subsurface-db8e8957abc8b8dc407a94835e686f649c9643a6.tar.gz |
Settings update: Add "Dive Computer" settings to SettingsObjectWrapper
For some reason, the dive computer settings weren't in the
settings prefs. This moves it, makes the boilerplate on Settings
ObjectWrapper and make things compile.
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.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h index 304bc0b63..c6c30878d 100644 --- a/core/pref.h +++ b/core/pref.h @@ -49,6 +49,13 @@ typedef struct { char *next_check; } update_manager_prefs_t; +typedef struct { + char *vendor; + char *product; + char *device; + int download_mode; +} dive_computer_prefs_t; + struct preferences { const char *divelist_font; const char *default_filename; @@ -141,6 +148,7 @@ struct preferences { short cloud_timeout; locale_prefs_t locale; //: TODO: move the rest of locale based info here. update_manager_prefs_t update_manager; + dive_computer_prefs_t dive_computer; }; enum unit_system_values { METRIC, |