From 5d24f154a70c4bf2ce9aea28a60bc5e55eb1f925 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Tue, 30 Oct 2018 08:39:02 -0700 Subject: 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 --- bluetooth/bluetooth.cpp | 12 ------------ bluetooth/bluetooth.h | 1 - 2 files changed, 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; }; -- cgit 1.2.3-korg