diff options
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; |