diff options
author | Matt Porter <mporter@konsulko.com> | 2018-06-12 12:18:02 -0400 |
---|---|---|
committer | Matt Porter <mporter@konsulko.com> | 2018-06-14 10:50:39 -0400 |
commit | fc65716b43af6be84d42599d813d3d40df07d376 (patch) | |
tree | bc58677f302cb35e62e35dff3177bcafd775686e /messageengine.cpp | |
parent | bb1aee701bc3516c2072a79d3129ee83918df7fd (diff) |
Add core Bluetooth PBAP support
Adds minimal Bluetooth PBAP message and models. Implements search
invokable to support phone number to name lookup of incoming and
originated calls.
Bug-AGL: SPEC-1438
Change-Id: Ic5a68d933b5d6b4f4da3e4c8c5c5a0f59a93f34c
Signed-off-by: Matt Porter <mporter@konsulko.com>
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 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; |