Diffstat (limited to 'noncore/net/opietooth/lib/device.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/device.h | 28 |
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 @@ + +#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 |