From 237cf3ec5134e299a9da0ce7deb533383f3d11f0 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 14 Jul 2005 10:34:55 +0000 Subject: - add bool OBluetoothInterface::setUp( bool ) - add void OBluetoothInterface::isUp() const --- (limited to 'libopie2/opiebluez/obluetooth.h') diff --git a/libopie2/opiebluez/obluetooth.h b/libopie2/opiebluez/obluetooth.h index 10c8c49..4423a55 100644 --- a/libopie2/opiebluez/obluetooth.h +++ b/libopie2/opiebluez/obluetooth.h @@ -118,7 +118,7 @@ class OBluetoothInterface : public QObject * Constructor. Normally you don't create @ref OBluetoothInterface objects yourself, * but access them via @ref OBluetooth::interface(). */ - OBluetoothInterface( QObject* parent, const char* name, void* devinfo ); + OBluetoothInterface( QObject* parent, const char* name, void* devinfo, int ctlfd ); /** * Destructor. */ @@ -127,6 +127,14 @@ class OBluetoothInterface : public QObject * @return the MAC address of the interfaces */ QString macAddress() const; + /** + * Setting an interface to up enables it to receive packets. + */ + bool setUp( bool ); + /** + * @returns true if the interface is up. + */ + bool isUp() const; private: class Private; -- cgit v0.9.0.2