diff options
author | Matt Porter <mporter@konsulko.com> | 2018-04-10 16:28:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2018-04-10 16:28:12 +0000 |
commit | 899fb9185114bc5db6b131d27f6769e17697f052 (patch) | |
tree | 6d940bbe013ae414bc79431bbf5c6168cc8744f3 /messageengine.cpp | |
parent | 87993c904851fae1f25525abe6b732a206364d1d (diff) | |
parent | 416b30f8e23e64daeb7d1a72a231863cfe9f9b53 (diff) |
Merge "libqtappfw: mediaplayer: initial agl-service-mediaplayer binding support"
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 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; |