31 lines
532 B
C++
31 lines
532 B
C++
#ifndef LLMR_MAP_SETTINGS
|
|
#define LLMR_MAP_SETTINGS
|
|
|
|
namespace llmr {
|
|
|
|
class Settings {
|
|
public:
|
|
virtual void save() = 0;
|
|
|
|
// Make noncopyable
|
|
Settings() = default;
|
|
Settings(const Settings&) = delete;
|
|
Settings(const Settings&&) = delete;
|
|
Settings &operator=(const Settings&) = delete;
|
|
Settings &operator=(const Settings&&) = delete;
|
|
|
|
public:
|
|
// position
|
|
double longitude = 0;
|
|
double latitude = 0;
|
|
double scale = 0;
|
|
double angle = 0;
|
|
|
|
// debug
|
|
bool debug = false;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|