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>
This commit is contained in:
Tomaz Canabrava 2015-06-22 18:44:05 -03:00 committed by Dirk Hohndel
parent ce4333e8fd
commit 21c46b8c2d
3 changed files with 51 additions and 1 deletions

View file

@ -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;