summaryrefslogtreecommitdiffstats
path: root/navigation
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-16 15:09:32 +0000
commitfff812b8634a42eab6f31d5968ff479da49d837a (patch)
tree1deb9e890f3d2665778c2415813b42c26de4da21 /navigation
parentdaecb6694b920295b0d942e70eec53ed96d43c4e (diff)
libqtappfw: remove not currently implemented broadcastWaypointshalibut_8.0.3halibut/8.0.38.0.3
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>
Diffstat (limited to 'navigation')
-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);