blob: a41633af32d790b2f6b2862764c636f115f48287 (
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>
namespace sowatch
{
using QTM_PREPEND_NAMESPACE(QBluetoothServiceDiscoveryAgent);
using QTM_PREPEND_NAMESPACE(QBluetoothServiceInfo);
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
|