summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
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 c82670b..b51147e 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -20,6 +20,7 @@
#include "mediaplayermessage.h"
#include "networkmessage.h"
#include "pbapmessage.h"
+#include "radiomessage.h"
#include "responsemessage.h"
#include "telephonymessage.h"
#include "weathermessage.h"
@@ -125,6 +126,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
} else if (api == "network-manager") {
message = new NetworkMessage;
type = NetworkEventMessage;
+ } else if (api == "radio") {
+ message = new RadioMessage;
+ type = RadioEventMessage;
} else {
message = new Message;
type = GenericMessage;