summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/settings_json.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/platform/default/settings_json.hpp')
-rw-r--r--include/mbgl/platform/default/settings_json.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/mbgl/platform/default/settings_json.hpp b/include/mbgl/platform/default/settings_json.hpp
new file mode 100644
index 0000000000..25c2179ba0
--- /dev/null
+++ b/include/mbgl/platform/default/settings_json.hpp
@@ -0,0 +1,24 @@
+#ifndef MBGL_JSON_SETTINGS
+#define MBGL_JSON_SETTINGS
+
+namespace mbgl {
+
+class Settings_JSON {
+public:
+ Settings_JSON();
+ void load();
+ void save();
+ void clear();
+
+public:
+ double longitude = 0;
+ double latitude = 0;
+ double zoom = 0;
+ double bearing = 0;
+
+ bool debug = false;
+};
+
+}
+
+#endif