summaryrefslogtreecommitdiff
path: root/common/settings_nsuserdefaults.hpp
blob: dcc6ab46b9502cf2c30906663ea525030586da33 (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 angle = 0;

    bool debug = false;
};

}

#endif