summaryrefslogtreecommitdiff
path: root/gatocentralmanager.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-12-07 01:51:59 +0100
committerJavier S. Pedro <maemo@javispedro.com>2013-12-07 01:51:59 +0100
commit55496b91d2b144c5b8aafd20a8c8332aee4607ab (patch)
tree877b7ae6e8ea63000272270e54e665ecdb8d80f3 /gatocentralmanager.h
parenta7161d92f965848049dbb2eaa80cce0aa178c0ed (diff)
downloadlibgato-55496b91d2b144c5b8aafd20a8c8332aee4607ab.tar.gz
libgato-55496b91d2b144c5b8aafd20a8c8332aee4607ab.zip
add a method to retrieve a known device from a manager
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);