summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-03-30 13:15:29 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-04-06 21:30:16 -0700
commit416b30f8e23e64daeb7d1a72a231863cfe9f9b53 (patch)
tree821ca6eb3abde26bf03d66cbba951f4de5ae8c4f /messageengine.cpp
parent0223839486802f3944df6e20b73dc93fa4a03727 (diff)
libqtappfw: mediaplayer: initial agl-service-mediaplayer binding support
Add initial support interface between agl-service-mediaplayer and libqtappfw Bug-AGL: SPEC-1375 Change-Id: I740d8cddfd73198b7a3246cb46c941da9f3175d1 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 101f7e0..916fb25 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -16,6 +16,7 @@
#include "message.h"
#include "messageengine.h"
+#include "mediaplayermessage.h"
#include "telephonymessage.h"
#include "weathermessage.h"
@@ -78,6 +79,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
} else if (api == "weather") {
message = new WeatherMessage;
type = WeatherEventMessage;
+ } else if (api == "mediaplayer") {
+ message = new MediaplayerMessage;
+ type = MediaplayerEventMessage;
} else {
message = new Message;
type = GenericMessage;