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 1cf3843..9846519 100644 --- a/messageengine.cpp +++ b/messageengine.cpp @@ -17,6 +17,7 @@ #include "message.h" #include "messageengine.h" #include "bluetoothmessage.h" +#include "mapmessage.h" #include "mediaplayermessage.h" #include "networkmessage.h" #include "pbapmessage.h" @@ -129,6 +130,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr) } else if (api == "radio") { message = new RadioMessage; type = RadioEventMessage; + } else if (api == "bluetooth-map") { + message = new MapMessage; + type = MapEventMessage; } else { message = new Message; type = GenericMessage; |