summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-11-12 22:27:43 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-11-12 23:16:41 -0800
commit5cd66764ad6f7397feeb3bf30f24c58ab62c1064 (patch)
treef1c014df7bcb4677f213796c8a51156d9b75394e
parentaf3cbe937762dbf196e0ea5b26f0cb2a088ab599 (diff)
libqtappfw: remove not currently implemented broadcastWaypointsicefish_8.99.1icefish/8.99.18.99.1
broadcastWaypoints doesn't actually broadcast out a valid event currently, and thus just remove for now. Bug-AGL: SPEC-2880 Change-Id: I9e865113949c236e59e27319b02ea22178a9dc9e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--navigation/navigation.cpp9
-rw-r--r--navigation/navigation.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/navigation/navigation.cpp b/navigation/navigation.cpp
index de98bea..8210310 100644
--- a/navigation/navigation.cpp
+++ b/navigation/navigation.cpp
@@ -91,15 +91,6 @@ void Navigation::broadcastStatus(QString state)
delete nmsg;
}
-void Navigation::broadcastWaypoints(QJsonObject waypoints)
-{
- NavigationMessage *nmsg = new NavigationMessage();
- QJsonObject parameter;
- nmsg->createRequest("broadcast_waypoints", parameter);
- m_mloop->sendMessage(nmsg);
- delete nmsg;
-}
-
void Navigation::onConnected()
{
QStringListIterator eventIterator(events);
diff --git a/navigation/navigation.h b/navigation/navigation.h
index 09fae3f..7262107 100644
--- a/navigation/navigation.h
+++ b/navigation/navigation.h
@@ -37,7 +37,6 @@ class Navigation : public QObject
Q_INVOKABLE void broadcastPosition(double lat, double lon, double drc, double dst);
Q_INVOKABLE void broadcastRouteInfo(double lat, double lon, double route_lat, double route_lon);
Q_INVOKABLE void broadcastStatus(QString state);
- Q_INVOKABLE void broadcastWaypoints(QJsonObject waypoints);
// only support one waypoint for now
Q_INVOKABLE void sendWaypoint(double lat, double lon);