diff options
Diffstat (limited to 'src/bluetooth/osx/osxbtnotifier_p.h')
-rw-r--r-- | src/bluetooth/osx/osxbtnotifier_p.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/bluetooth/osx/osxbtnotifier_p.h b/src/bluetooth/osx/osxbtnotifier_p.h index 6cb2b019..0ffd7f51 100644 --- a/src/bluetooth/osx/osxbtnotifier_p.h +++ b/src/bluetooth/osx/osxbtnotifier_p.h @@ -52,7 +52,9 @@ // +#include "qbluetoothdevicediscoveryagent.h" #include "qlowenergycontroller.h" +#include "qbluetoothdeviceinfo.h" #include "qbluetoothuuid.h" #include "qbluetooth.h" @@ -68,11 +70,14 @@ class QLowEnergyServicePrivate; namespace OSXBluetooth { -class LECentralNotifier : public QObject +class LECBManagerNotifier : public QObject { Q_OBJECT Q_SIGNALS: + void deviceDiscovered(QBluetoothDeviceInfo deviceInfo); + void discoveryFinished(); + void connected(); void disconnected(); @@ -85,9 +90,10 @@ Q_SIGNALS: void descriptorWritten(QLowEnergyHandle descHandle, const QByteArray &value); void LEnotSupported(); - void CBCentralManagerError(QLowEnergyController::Error error); - void CBCentralManagerError(const QBluetoothUuid &serviceUuid, QLowEnergyController::Error error); - void CBCentralManagerError(const QBluetoothUuid &serviceUuid, QLowEnergyService::ServiceError error); + void CBManagerError(QBluetoothDeviceDiscoveryAgent::Error error); + void CBManagerError(QLowEnergyController::Error error); + void CBManagerError(const QBluetoothUuid &serviceUuid, QLowEnergyController::Error error); + void CBManagerError(const QBluetoothUuid &serviceUuid, QLowEnergyService::ServiceError error); }; |