summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-10-16 06:05:03 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-10-16 12:14:07 -0700
commit035db849c0f279232102af5e97928be2aa603e4d (patch)
tree437b003136e75981992f9cded1238f6b74b1313b
parent466434f829547f2072c681b3cd6380a799b7f5ee (diff)
ondemandnavi: remove unused signals
Part of the effort to cleanup DBus usage for navigation to JSON events remove all unused sections of the application. Bug-AGL: SPEC-2880 Change-Id: I2e97f2ffde998b13419de5eaeb9b3bc3e6b073e3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--app/dbus_server.cpp29
-rw-r--r--app/dbus_server.h2
-rw-r--r--dbus_interface/org.agl.naviapi.xml6
3 files changed, 0 insertions, 37 deletions
diff --git a/app/dbus_server.cpp b/app/dbus_server.cpp
index ea3acad..57fa3d5 100644
--- a/app/dbus_server.cpp
+++ b/app/dbus_server.cpp
@@ -55,16 +55,6 @@ void DBus_Server::initAPIs(QObject *parent){
this,SLOT(sendSignalPosInfo(double,double,double,double)))) {
qDebug() << m_serverName << "qmlSIGNAL:qmlSignalPosInfo to cppSLOT:sendSignalPosInfo connect is failed";
}
-
- if(!QObject::connect(parent,SIGNAL(qmlSignalStopDemo()),
- this,SLOT(sendSignalStopDemo()))) {
- qDebug() << m_serverName << "qmlSIGNAL:qmlSignalStopDemo to cppSLOT:sendSignalStopDemo connect is failed";
- }
-
- if(!QObject::connect(parent,SIGNAL(qmlSignalArrvied()),
- this,SLOT(sendSignalArrvied()))) {
- qDebug() << m_serverName << "qmlSIGNAL:qmlSignalArrvied to cppSLOT:sendSignalArrvied connect is failed";
- }
}
void DBus_Server::getRouteInfoSlot(){
@@ -92,22 +82,3 @@ void DBus_Server::sendSignalPosInfo(double lat, double lon, double drc, double d
QDBusConnection::sessionBus().send(message);
return;
}
-
-void DBus_Server::sendSignalStopDemo(){
- qDebug() << "call sendSignalStopDemo ";
- QDBusMessage message = QDBusMessage::createSignal(m_objName,
- org::agl::naviapi::staticInterfaceName(),
- "signalStopDemo");
- QDBusConnection::sessionBus().send(message);
- return;
-}
-
-void DBus_Server::sendSignalArrvied(){
- qDebug() << "call sendSignalArrvied ";
- QDBusMessage message = QDBusMessage::createSignal(m_objName,
- org::agl::naviapi::staticInterfaceName(),
- "signalArrvied");
- QDBusConnection::sessionBus().send(message);
- return;
-}
-// Method
diff --git a/app/dbus_server.h b/app/dbus_server.h
index b8fb1c6..5fe7562 100644
--- a/app/dbus_server.h
+++ b/app/dbus_server.h
@@ -27,7 +27,5 @@ public slots:
void getRouteInfoSlot();
void sendSignalRouteInfo(double srt_lat,double srt_lon,double end_lat,double end_lon);
void sendSignalPosInfo(double lat,double lon,double drc,double dst);
- void sendSignalStopDemo();
- void sendSignalArrvied();
};
#endif // DBUS_SERVER_H
diff --git a/dbus_interface/org.agl.naviapi.xml b/dbus_interface/org.agl.naviapi.xml
index 7132539..488a29a 100644
--- a/dbus_interface/org.agl.naviapi.xml
+++ b/dbus_interface/org.agl.naviapi.xml
@@ -15,12 +15,6 @@
<arg name="direction" type="d" direction="out"/>
<arg name="distance" type="d" direction="out"/>
</signal>
- <!-- void signalStopDemo() -->
- <signal name="signalStopDemo">
- </signal>
- <!-- void signalArrvied() -->
- <signal name="signalArrvied">
- </signal>
<!-- void getRouteInfo() -->
<signal name="getRouteInfo">
</signal>