summaryrefslogtreecommitdiffstats
path: root/core/pref.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/pref.h')
-rw-r--r--core/pref.h8
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,