diff options
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; }; |