summaryrefslogtreecommitdiff
path: root/common/settings_nsuserdefaults.hpp
blob: 3533e3da35ced34524a2378f6b34cb0c23c3c9c0 (plain)
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