Cloud storage: create preference entry for base URL

This just deals with the mechanics. There is no UI to enter / change this
URL (and that's intentional), neither is it used, yet.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-15 05:52:12 -07:00
parent b144518a85
commit 617b105458
3 changed files with 11 additions and 0 deletions

View file

@ -5,6 +5,7 @@
#include "gettext.h"
struct preferences prefs;
struct preferences default_prefs = {
.cloud_base_url = "https://cloud.subsurface-divelog.org/",
.units = SI_UNITS,
.unit_system = METRIC,
.coordinates_traditional = true,