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 87c2630..bb7745f 100644
--- a/messageengine.cpp
+++ b/messageengine.cpp
@@ -18,6 +18,7 @@
#include "messageengine.h"
#include "bluetoothmessage.h"
#include "mediaplayermessage.h"
+#include "pbapmessage.h"
#include "responsemessage.h"
#include "telephonymessage.h"
#include "weathermessage.h"
@@ -109,6 +110,9 @@ void MessageEngine::onTextMessageReceived(QString jsonStr)
if (api == "Bluetooth-Manager") {
message = new BluetoothMessage;
type = BluetoothEventMessage;
+ } else if (api == "bluetooth-pbap") {
+ message = new PbapMessage;
+ type = PbapEventMessage;
} else if (api == "telephony") {
message = new TelephonyMessage;
type = TelephonyEventMessage;