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-05 16:05:15 -0800 |
commit | 6446a124787e95acb7f65916ca0b09254de0b86e (patch) | |
tree | f6a626673fad689ac4c623c1755b1a6b412895eb | |
parent | c8304d3ec2f83aed4f6b87a31f79dac72bb432de (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>
-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; }; |