From 55496b91d2b144c5b8aafd20a8c8332aee4607ab Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 7 Dec 2013 01:51:59 +0100 Subject: add a method to retrieve a known device from a manager --- gatocentralmanager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gatocentralmanager.h') 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& uuids, PeripheralScanOptions options = 0); -- cgit v1.2.3