blob: c98bf1ac643776a1e8f4eac42c5d798e54b52c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef METAWATCHSCANNER_H
#define METAWATCHSCANNER_H
#include <sowatch.h>
#include <QtConnectivity/QBluetoothServiceDiscoveryAgent>
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
|