diff options
Diffstat (limited to 'rockworkd/libpebble/bluez/bluezclient.h')
| -rw-r--r-- | rockworkd/libpebble/bluez/bluezclient.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/rockworkd/libpebble/bluez/bluezclient.h b/rockworkd/libpebble/bluez/bluezclient.h index f8e5749..cbe7c0f 100644 --- a/rockworkd/libpebble/bluez/bluezclient.h +++ b/rockworkd/libpebble/bluez/bluezclient.h @@ -11,7 +11,7 @@ #include "bluez_adapter1.h" #include "bluez_agentmanager1.h" -class Device { +class BluezDevice { public: QBluetoothAddress address; QString name; @@ -26,14 +26,15 @@ public: BluezClient(QObject *parent = 0); - QList<Device> pairedPebbles() const; + QList<BluezDevice> pairedPebbles() const; private slots: void addDevice(const QDBusObjectPath &path, const QVariantMap &properties); void slotInterfacesAdded(const QDBusObjectPath&path, InterfaceList ifaces); - void slotInterfacesRemoved(const QDBusObjectPath&path, const QStringList &ifaces); - + void slotDevicePairingDone(bool success); + void slotInterfacesRemoved(const QDBusObjectPath&path, const QStringList &ifaces); + signals: void devicesChanged(); @@ -45,7 +46,7 @@ private: FreeDesktopProperties *m_bluezAdapterProperties = nullptr; - QHash<QString, Device> m_devices; + QHash<QString, BluezDevice> m_devices; }; #endif // BLUEZCLIENT_H |
