aboutsummaryrefslogtreecommitdiffstats
path: root/app/file_operation.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/file_operation.h')
-rw-r--r--app/file_operation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/file_operation.h b/app/file_operation.h
index 411cc25..962c506 100644
--- a/app/file_operation.h
+++ b/app/file_operation.h
@@ -22,6 +22,7 @@ class File_Operation: public QObject{
int m_update_interval; // set millisecond
double m_start_latitude;
double m_start_longitute;
+ bool m_enable_osm;
QString m_mapStyleUrls;
public:
@@ -34,6 +35,7 @@ public:
Q_INVOKABLE double getStartLatitude();
Q_INVOKABLE double getStartLongitute();
Q_INVOKABLE QString getMapStyleUrls();
+ Q_INVOKABLE bool isOSMEnabled() { return m_enable_osm; };
private:
void initFileOperation();