summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-10-17 03:49:38 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-10-31 02:12:22 -0700
commitaf3cbe937762dbf196e0ea5b26f0cb2a088ab599 (patch)
tree491176e09ee3d803c262bb6bebda9bcffd3439ce /messageengine.cpp
parent94b4633389337283d9ea6f31a2097dae59ac6253 (diff)
libqtappfw: add initial navigation support
Add initial navigation service support in qtappfw for new agl-service-navigation rewrite. Bug-AGL: SPEC-2880 Change-Id: I276de006af3c1e19e669ae3b9d05c92360893467 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'messageengine.cpp')
-rw-r--r--messageengine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/messageengine.cpp b/messageengine.cpp
index 9846519..d057d11 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -19,6 +19,7 @@
#include "bluetoothmessage.h"
#include "mapmessage.h"
#include "mediaplayermessage.h"
+#include "navigationmessage.h"
#include "networkmessage.h"
#include "pbapmessage.h"
#include "radiomessage.h"
@@ -124,6 +125,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
} else if (api == "mediaplayer") {
message = new MediaplayerMessage;
type = MediaplayerEventMessage;
+ } else if (api == "navigation") {
+ message = new NavigationMessage;
+ type = NavigationEventMessage;
} else if (api == "network-manager") {
message = new NetworkMessage;
type = NetworkEventMessage;