diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-30 13:47:03 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-30 13:47:03 +0200 |
commit | 9bbdba9eab28c2ba44002bada4b3bb1c0962bd90 (patch) | |
tree | 4a56a077b8597395dd0f38c5ab9cb0c87862afa1 /common/settings_nsuserdefaults.hpp | |
parent | e95ece83335b85ed063f8ea903acc71d5a2fb995 (diff) | |
download | qtlocation-mapboxgl-9bbdba9eab28c2ba44002bada4b3bb1c0962bd90.tar.gz |
remove concept of settings object from library
Diffstat (limited to 'common/settings_nsuserdefaults.hpp')
-rw-r--r-- | common/settings_nsuserdefaults.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/common/settings_nsuserdefaults.hpp b/common/settings_nsuserdefaults.hpp new file mode 100644 index 0000000000..575cc4a75f --- /dev/null +++ b/common/settings_nsuserdefaults.hpp @@ -0,0 +1,24 @@ +#ifndef LLMR_COMMON_SETTINGS_NSUSERDEFAULTS +#define LLMR_COMMON_SETTINGS_NSUSERDEFAULTS + +namespace llmr { + +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 |