summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2020-01-08 23:00:14 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2020-01-17 10:18:59 -0800
commitcd1a7f3bcbaef1e9c23549f472bce4ae42b2afad (patch)
tree95874c62ed61f7ecb2f9798e034d45bbdf3871cc /messageengine.cpp
parentcd5c8fee6f24d3704c3fc7d94b36d86c07c0369f (diff)
libqtappfw: add initial HVAC supporticefish_8.99.5icefish/8.99.58.99.5
To remove QML handling of websockets this patchset is required to move it to libqtappfw access. Bug-AGL: SPEC-2984 Change-Id: Ieef6174d2ae7adec2fcaadf44fcb22cf86c7138d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
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 115dde7..9ab9aee 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -18,6 +18,7 @@
#include "messageengine.h"
#include "bluetoothmessage.h"
#include "guimetadatamessage.h"
+#include "hvacmessage.h"
#include "mapmessage.h"
#include "mediaplayermessage.h"
#include "navigationmessage.h"
@@ -153,6 +154,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
} else if (api == "signal-composer") {
message = new SignalComposerMessage;
type = SignalComposerEventMessage;
+ } else if (api == "hvac") {
+ message = new HVACMessage;
+ type = HVACEventMessage;
} else {
message = new Message;
type = GenericMessage;