summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-11-14 17:09:13 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-11-14 17:09:13 +0000
commitdaecb6694b920295b0d942e70eec53ed96d43c4e (patch)
tree7d159c92b881f4100ecc00b1e59e3b757cb29efe /messageengine.cpp
parentea825202af319188c9b9acbd8330eb65fa230f7b (diff)
parent00fa3eefa5f961ac60d9ae6bc6d732cccbce76db (diff)
Merge "libqtappfw: add initial navigation support" into halibut
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;