diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-10-17 03:49:38 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-11-11 14:01:54 +0000 |
commit | 00fa3eefa5f961ac60d9ae6bc6d732cccbce76db (patch) | |
tree | c7f0c0e4ad13de5e1c811cdf2d1c5c1813a38d61 /messageengine.cpp | |
parent | 45ed097db45ee0a88d3acd274f242ed100274d47 (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>
(cherry picked from commit af3cbe937762dbf196e0ea5b26f0cb2a088ab599)
Diffstat (limited to 'messageengine.cpp')
-rw-r--r-- | messageengine.cpp | 4 |
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; |