summaryrefslogtreecommitdiff
path: root/libsowatchbt/bluetoothwatchscanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatchbt/bluetoothwatchscanner.h')
-rw-r--r--libsowatchbt/bluetoothwatchscanner.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libsowatchbt/bluetoothwatchscanner.h b/libsowatchbt/bluetoothwatchscanner.h
index 1ab974a..e2d78ef 100644
--- a/libsowatchbt/bluetoothwatchscanner.h
+++ b/libsowatchbt/bluetoothwatchscanner.h
@@ -19,17 +19,16 @@ class SOWATCHBT_EXPORT BluetoothWatchScanner : public WatchScanner
public:
BluetoothWatchScanner(QObject *parent);
+ ~BluetoothWatchScanner();
void start();
-protected:
- void setUuidFilter(const QBluetoothUuid & uuid);
-
protected slots:
virtual void handleDiscoveredService(const QBluetoothServiceInfo& info) = 0;
private:
- QBluetoothServiceDiscoveryAgent *_agent;
+ static int _instances;
+ static QBluetoothServiceDiscoveryAgent *_agent;
};
}