summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-06-22 18:44:05 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-22 17:11:51 -0700
commit21c46b8c2d17fa03596d9334710d75d8cba44d8c (patch)
tree4fd36a29971baf6510de48388291fd16a76f4eb7 /subsurfacestartup.c
parentce4333e8fdb36645697ceaaf603bf5f0d5d16425 (diff)
downloadsubsurface-21c46b8c2d17fa03596d9334710d75d8cba44d8c.tar.gz
Preferences infrastructure for GeoManagement
Simple preferences infrastructure with default prefs, prefs and hooks for the Qt Settings system and our preferences ui. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r--subsurfacestartup.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index 7130f0f59..655a1a5d9 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -68,7 +68,15 @@ struct preferences default_prefs = {
.access_token = NULL
},
.defaultsetpoint = 1100,
- .cloud_background_sync = true
+ .cloud_background_sync = true,
+ .geocoding = {
+ .enable_geocoding = false,
+ .parse_dive_without_gps = false,
+ .tag_existing_dives = false,
+ .first_item = NULL,
+ .second_item = NULL,
+ .third_item = NULL
+ }
};
int run_survey;