From f117abbfaf2c17c5af700433d181266b4c8d5a7b Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 30 May 2002 18:06:48 +0000 Subject: Ok here are some bits of a lib and interfaces --- (limited to 'noncore/net/opietooth/lib/device.h') 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 +#include +#include + +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 -- cgit v0.9.0.2