1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef MBGL_COMMON_SETTINGS_NSUSERDEFAULTS #define MBGL_COMMON_SETTINGS_NSUSERDEFAULTS namespace mbgl { class Settings_NSUserDefaults { public: Settings_NSUserDefaults(); void load(); void save(); void clear(); public: double longitude = 0; double latitude = 0; double zoom = 0; double bearing = 0; bool debug = false; }; } #endif