summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-06-21 11:44:30 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-06-28 18:12:00 -0700
commit9d2600f4b4dcbdd3820910967eb00a9b00cd8a17 (patch)
treebb241920f70da4bfca1e05ea8fbb0a196f88036a /messageengine.cpp
parentc7f1b2678189a81a41df3bdf422b5b290cac20f0 (diff)
libqtappfw: bluetooth-map: add initial map supporthalibut_7.99.3halibut/7.99.37.99.3
Add bluetooth-map service support for notifications and message composition. Bug-AGL: SPEC-2561 Change-Id: I956150b9db05334eb02640657c1fc7e03258ab41 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 1cf3843..9846519 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -17,6 +17,7 @@
#include "message.h"
#include "messageengine.h"
#include "bluetoothmessage.h"
+#include "mapmessage.h"
#include "mediaplayermessage.h"
#include "networkmessage.h"
#include "pbapmessage.h"
@@ -129,6 +130,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
} else if (api == "radio") {
message = new RadioMessage;
type = RadioEventMessage;
+ } else if (api == "bluetooth-map") {
+ message = new MapMessage;
+ type = MapEventMessage;
} else {
message = new Message;
type = GenericMessage;