From 93f3acd128d6b349efe14e97b12c2703ca4f81f3 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Thu, 26 Apr 2012 01:36:20 +0200 Subject: Moved the core framework to GConf & D-Bus --- metawatch/metawatchscanner.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 metawatch/metawatchscanner.h (limited to 'metawatch/metawatchscanner.h') diff --git a/metawatch/metawatchscanner.h b/metawatch/metawatchscanner.h new file mode 100644 index 0000000..c98bf1a --- /dev/null +++ b/metawatch/metawatchscanner.h @@ -0,0 +1,30 @@ +#ifndef METAWATCHSCANNER_H +#define METAWATCHSCANNER_H + +#include +#include + +using QTM_PREPEND_NAMESPACE(QBluetoothServiceDiscoveryAgent); +using QTM_PREPEND_NAMESPACE(QBluetoothServiceInfo); + +namespace sowatch +{ + +class MetaWatchScanner : public WatchScanner +{ + Q_OBJECT +public: + explicit MetaWatchScanner(QObject *parent = 0); + + void start(); + +private: + QBluetoothServiceDiscoveryAgent *_agent; + +private slots: + void handleDiscoveredService(const QBluetoothServiceInfo& info); +}; + +} + +#endif // METAWATCHSCANNER_H -- cgit v1.2.3