aboutsummaryrefslogtreecommitdiffstats
path: root/app/dbus_client.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-11-10 18:23:23 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-11-11 20:28:23 -0800
commitd01ce33b26daf332d4b8bd9e389e0877c1c38b88 (patch)
treee16486c8baaa36a53cd8db7d6bde153eab8f3c87 /app/dbus_client.h
parent8f03b833b933fc632284e594cb636877c47b8128 (diff)
tbtnavi: remove dbus navicore client
In order to use new agl-service-navigation the current navicore DBus client needs to be removed. Bug-AGL: SPEC-2880 Change-Id: I4c6eef6c44ec55aa1fd2fc6b73c2cf3aa7fbd51e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/dbus_client.h')
-rw-r--r--app/dbus_client.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/app/dbus_client.h b/app/dbus_client.h
deleted file mode 100644
index 0abae31..0000000
--- a/app/dbus_client.h
+++ /dev/null
@@ -1,46 +0,0 @@
-#ifndef DBUS_CLIENT_H
-#define DBUS_CLIENT_H
-
-#include "naviapi_interface.h"
-#include "naviapi_adaptor.h"
-#include <QtQml/QQmlApplicationEngine>
-
-class dbus_client : public QObject{
- Q_OBJECT
- QString m_serverName;
- QString m_pathName;
- QString m_objName;
-
-public:
- dbus_client(const QString &pathName,
- const QString &objName,
- const QString &serverName,
- QObject *parent = nullptr);
- ~dbus_client();
-
-private:
- //DBus & API init
- void initDBus();
- void initAPIs(QObject*);
-
-signals:
- //notify add routepoints signal to qml
- void addRoutePointsQml(QVariant, QVariant, QVariant, QVariant);
- //notify current position signal to qml
- void positionQml(QVariant, QVariant,QVariant, QVariant);
- //notify stop demo signal to qml
- void stopdemoQml();
- //notify arrive destination signal to qml
- void arrivedestQml();
-
-private slots:
- //receive add routepoints notify from navigation service
- void addRoutePointsSlot(double route_Lat_s, double route_Lon_s, double route_Lat_e, double route_Lon_e);
- //receive current position notify from navigation service
- void positionSlot(double cur_Lat_p, double cur_Lon_p,double cur_direction, double cur_distance);
- //receive stop demo notify from navigation service
- void stopdemoSlot();
- //receive arrive destination notify from navigation service
- void arrivedestSlot();
-};
-#endif // DBUS_CLIENT_H