summaryrefslogtreecommitdiffstats
path: root/app/file_operation.h
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-06 16:31:25 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-06 16:31:25 +0900
commit9ee98a06160ee2b234e92db70eb18e128fc76e5d (patch)
treed144be711339162d8fb8662ac868cc3677318072 /app/file_operation.h
parent61a91b68c0c895714ea8d612fc752ad4b5cf56ef (diff)
Diffstat (limited to 'app/file_operation.h')
-rw-r--r--app/file_operation.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/app/file_operation.h b/app/file_operation.h
deleted file mode 100644
index 9fbbd6c..0000000
--- a/app/file_operation.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef FILE_OPERATION_H
-#define FILE_OPERATION_H
-#include <QObject>
-#include <QString>
-#include <QFile>
-#include <QJsonObject>
-#include <QJsonDocument>
-
-/******************************************************
- * Write navigation config in /etc/naviconfig.ini
- ******************************************************/
-#define NAVI_CONFIG_FILEPATH "/etc/naviconfig.ini"
-
-class File_Operation: public QObject{
-
- Q_OBJECT
-
- QString m_mapAccessToken;
- double m_car_speed; // set Km/h
- double m_start_latitude;
- double m_start_longitute;
- QString m_mapStyleUrls;
-
-public:
- File_Operation();
- ~File_Operation();
-
- Q_INVOKABLE QString getMapAccessToken();
- Q_INVOKABLE double getCarSpeed();
- Q_INVOKABLE double getStartLatitude();
- Q_INVOKABLE double getStartLongitute();
- Q_INVOKABLE QString getMapStyleUrls();
-
-private:
- void initFileOperation();
-};
-
-#endif // FILE_OPERATION_H