blob: 47e09c048b037805f36cea26cea48024dd3ffcb6 (
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
|
#ifndef OpieToothDevice_H
#define OpieToothDevice_H
#include <qobject.h>
#include <qstring.h>
#include <qvaluelist.h>
namespace OpieTooth {
class Device : public QObject {
Q_OBJECT
public:
Device(const QString &device, const QString& mode);
// unloads the device
~Device();
// was the device loaded?
void attach();
void detach();
bool up()const;
QString devName()const ; // hci0
signals:
device(const QString& device, bool up );
};
};
#endif
|