author | zecke <zecke> | 2002-05-30 18:06:48 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-05-30 18:06:48 (UTC) |
commit | f117abbfaf2c17c5af700433d181266b4c8d5a7b (patch) (side-by-side diff) | |
tree | 8fb6d6beb166ffb582f3ef6207fdda56a744a7f9 /noncore/net/opietooth/lib/device.h | |
parent | 738c08d921cc12c9f6f7846e80889908dce06cc8 (diff) | |
download | opie-f117abbfaf2c17c5af700433d181266b4c8d5a7b.zip opie-f117abbfaf2c17c5af700433d181266b4c8d5a7b.tar.gz opie-f117abbfaf2c17c5af700433d181266b4c8d5a7b.tar.bz2 |
Ok here are some bits of a lib and interfaces
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 |