summaryrefslogtreecommitdiff
path: root/gatocentralmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'gatocentralmanager.h')
-rw-r--r--gatocentralmanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gatocentralmanager.h b/gatocentralmanager.h
index 00225a0..857b9cc 100644
--- a/gatocentralmanager.h
+++ b/gatocentralmanager.h
@@ -6,6 +6,7 @@
#include "gatouuid.h"
class GatoPeripheral;
+class GatoAddress;
class GatoCentralManagerPrivate;
class LIBGATO_EXPORT GatoCentralManager : public QObject
@@ -24,6 +25,8 @@ public:
explicit GatoCentralManager(QObject *parent = 0);
~GatoCentralManager();
+ GatoPeripheral *getPeripheral(const GatoAddress& address);
+
public slots:
void scanForPeripherals(PeripheralScanOptions options = 0);
void scanForPeripheralsWithServices(const QList<GatoUUID>& uuids, PeripheralScanOptions options = 0);