diff options
Diffstat (limited to 'platform/glfw/settings_json.hpp')
-rw-r--r-- | platform/glfw/settings_json.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/glfw/settings_json.hpp b/platform/glfw/settings_json.hpp new file mode 100644 index 0000000000..eb23b28bc8 --- /dev/null +++ b/platform/glfw/settings_json.hpp @@ -0,0 +1,24 @@ +#pragma once + +#include <mbgl/map/mode.hpp> + +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; + double pitch = 0; + + EnumType debug = 0; +}; + +} // namespace mbgl |