summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-05-30 19:30:10 (UTC)
committer harlekin <harlekin>2002-05-30 19:30:10 (UTC)
commitc6badea27eb3057c6971f3a756f4bef17996cfa9 (patch) (side-by-side diff)
tree0ed241572bcfb677267250ff2428770a6a4248dd
parent7a1f23afd000bb8b061545053f2b1cfeb095dcb8 (diff)
downloadopie-c6badea27eb3057c6971f3a756f4bef17996cfa9.zip
opie-c6badea27eb3057c6971f3a756f4bef17996cfa9.tar.gz
opie-c6badea27eb3057c6971f3a756f4bef17996cfa9.tar.bz2
docu
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/device.h b/noncore/net/opietooth/lib/device.h
index 3798e0d..b2d277e 100644
--- a/noncore/net/opietooth/lib/device.h
+++ b/noncore/net/opietooth/lib/device.h
@@ -1,58 +1,63 @@
#ifndef OpieToothDevice_H
#define OpieToothDevice_H
#include <qobject.h>
#include <qstring.h>
#include <qvaluelist.h>
namespace OpieTooth {
class Device : public QObject {
Q_OBJECT
public:
/**
* Brings up an device.
* Usage example: new Device(/dev/ttySB0, csr)
*
* @param &device QString the device name
* @param &mode QString the mode
*/
Device(const QString &device, const QString& mode);
/**
* unloads the device
*/
~Device();
/**
* attach the device
*/
void attach();
/**
* detach the device
*/
void detach();
/**
* Is the device loaded?
* @return bool, if the device is loaded
bool isLoaded()const;
/**
* Returns the device name
* @return QString, the device name
*/
QString devName()const ; // hci0
signals:
+ /**
+ * Signals devicename and up status
+ * @return &device QString, Devicename
+ * @return up bool, if the device is up or not.
+ */
device(const QString& device, bool up );
};
};
#endif