diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-03-30 13:15:29 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-05-11 00:55:42 -0700 |
commit | c26cadd532d98f59f0d53c6337d23f824593754c (patch) | |
tree | fdd71d9d4d6d616886cba4ae56f0ab10ffdf9619 /messageengine.cpp | |
parent | 62a76f993bfbfb80dd8878239bec1647c54cd626 (diff) |
libqtappfw: mediaplayer: initial agl-service-mediaplayer binding supporteel_5.1.0eel_5.0.3eel/5.1.0eel/5.0.35.1.05.0.3eel
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.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/messageengine.cpp b/messageengine.cpp index c68093d..427c557 100644 --- a/messageengine.cpp +++ b/messageengine.cpp @@ -17,6 +17,7 @@ #include "message.h" #include "messageengine.h" #include "bluetoothmessage.h" +#include "mediaplayermessage.h" #include "telephonymessage.h" #include <QJsonArray> @@ -78,6 +79,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr) } else if (api == "telephony") { message = new TelephonyMessage; type = TelephonyEventMessage; + } else if (api == "mediaplayer") { + message = new MediaplayerMessage; + type = MediaplayerEventMessage; } else { message = new Message; type = GenericMessage; |