summaryrefslogtreecommitdiffstats
path: root/messageengine.cpp
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-07-02 13:42:04 -0400
committerMatt Porter <mporter@konsulko.com>2018-07-10 12:03:32 -0400
commit0fb805bcbd3d07da41df2236977afcb3142d5327 (patch)
treeb925192ea999260c49723d36d0b18f1123b90711 /messageengine.cpp
parent87db6cfd047e2c1d247dbfb45cad8b03e5dd6248 (diff)
add base network module supportflounder_5.99.2flounder/5.99.25.99.2
Add support for new network binding messages. This is a prerequisite for the new network services list model. Bug-AGL: SPEC-1541 Change-Id: I204914b991016145958114b1e0e914eaf5b599fa Signed-off-by: Matt Porter <mporter@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 bb7745f..f090e27 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -18,6 +18,7 @@
#include "messageengine.h"
#include "bluetoothmessage.h"
#include "mediaplayermessage.h"
+#include "networkmessage.h"
#include "pbapmessage.h"
#include "responsemessage.h"
#include "telephonymessage.h"
@@ -122,6 +123,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
} else if (api == "mediaplayer") {
message = new MediaplayerMessage;
type = MediaplayerEventMessage;
+ } else if (api == "network-manager") {
+ message = new NetworkMessage;
+ type = NetworkEventMessage;
} else {
message = new Message;
type = GenericMessage;