summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'messageengine.cpp')
-rw-r--r--messageengine.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/messageengine.cpp b/messageengine.cpp
index d057d11..4920043 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -26,6 +26,7 @@
#include "responsemessage.h"
#include "telephonymessage.h"
#include "weathermessage.h"
+#include "voicemessage.h"
#include <QJsonArray>
@@ -137,6 +138,15 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
} else if (api == "bluetooth-map") {
message = new MapMessage;
type = MapEventMessage;
+ } else if (api == "vshl-core" ) {
+ message = new VshlCoreVoiceMessage;
+ type = VoiceEventMessage;
+ } else if (api == "vshl-capabilities") {
+ message = new VshlCpbltsVoiceMessage;
+ type = VoiceEventMessage;
+ } else if (api == "alexa-voiceagent") {
+ message = new AlexaVoiceMessage;
+ type = VoiceEventMessage;
} else {
message = new Message;
type = GenericMessage;