diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-10-30 08:39:02 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-21 13:35:54 -0800 |
commit | 5d24f154a70c4bf2ce9aea28a60bc5e55eb1f925 (patch) | |
tree | f0c46c9cbf5ab578b03cd4a5996ba503865f516b /bluetooth | |
parent | fc112fb9066e26e5481b3a434ac9be614f97367a (diff) |
libqtappfw: bluetooth: remove avrcp_controls
Bluetooth avrcp controls will be moved into their own respective
binding in the near future.
Bug-AGL: SPEC-1630
Change-Id: I688cc19c2e30957f507cdcda54bf5a2f863317d5
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'bluetooth')
-rw-r--r-- | bluetooth/bluetooth.cpp | 12 | ||||
-rw-r--r-- | bluetooth/bluetooth.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/bluetooth/bluetooth.cpp b/bluetooth/bluetooth.cpp index d205e7d..7ae8240 100644 --- a/bluetooth/bluetooth.cpp +++ b/bluetooth/bluetooth.cpp @@ -151,18 +151,6 @@ void Bluetooth::send_confirmation() generic_command("send_confirmation", "yes"); } -void Bluetooth::set_avrcp_controls(QString address, QString cmd) -{ - BluetoothMessage *tmsg = new BluetoothMessage(); - QJsonObject parameter; - - parameter.insert("Address", address); - parameter.insert("value", cmd); - tmsg->createRequest("set_avrcp_controls", parameter); - m_mloop->sendMessage(tmsg); - delete tmsg; -} - void Bluetooth::onConnected() { QStringListIterator eventIterator(events); diff --git a/bluetooth/bluetooth.h b/bluetooth/bluetooth.h index 24605cf..d8bbb80 100644 --- a/bluetooth/bluetooth.h +++ b/bluetooth/bluetooth.h @@ -49,7 +49,6 @@ class Bluetooth : public QObject Q_INVOKABLE void disconnect(QString address); Q_INVOKABLE void send_confirmation(void); - Q_INVOKABLE void set_avrcp_controls(QString address, QString cmd); bool power() const { return m_power; }; bool discoverable() const { return m_discoverable; }; |