summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/device.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib/device.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/device.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/device.h b/noncore/net/opietooth/lib/device.h
new file mode 100644
index 0000000..47e09c0
--- a/dev/null
+++ b/noncore/net/opietooth/lib/device.h
@@ -0,0 +1,28 @@
1
2#ifndef OpieToothDevice_H
3#define OpieToothDevice_H
4
5#include <qobject.h>
6#include <qstring.h>
7#include <qvaluelist.h>
8
9namespace OpieTooth {
10 class Device : public QObject {
11 Q_OBJECT
12 public:
13 Device(const QString &device, const QString& mode);
14 // unloads the device
15 ~Device();
16 // was the device loaded?
17 void attach();
18 void detach();
19 bool up()const;
20 QString devName()const ; // hci0
21 signals:
22 device(const QString& device, bool up );
23 };
24};
25
26
27
28#endif