author | mickeyl <mickeyl> | 2005-07-14 10:34:55 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-07-14 10:34:55 (UTC) |
commit | 237cf3ec5134e299a9da0ce7deb533383f3d11f0 (patch) (unidiff) | |
tree | 299215ea1616d3625b7294744ecfebbb2b0b1d7e /libopie2/opiebluez/obluetooth.h | |
parent | 27646acf1280d2644b740d0fea03723030aa19cf (diff) | |
download | opie-237cf3ec5134e299a9da0ce7deb533383f3d11f0.zip opie-237cf3ec5134e299a9da0ce7deb533383f3d11f0.tar.gz opie-237cf3ec5134e299a9da0ce7deb533383f3d11f0.tar.bz2 |
- add bool OBluetoothInterface::setUp( bool )
- add void OBluetoothInterface::isUp() const
Diffstat (limited to 'libopie2/opiebluez/obluetooth.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiebluez/obluetooth.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 | |||
118 | * Constructor. Normally you don't create @ref OBluetoothInterface objects yourself, | 118 | * Constructor. Normally you don't create @ref OBluetoothInterface objects yourself, |
119 | * but access them via @ref OBluetooth::interface(). | 119 | * but access them via @ref OBluetooth::interface(). |
120 | */ | 120 | */ |
121 | OBluetoothInterface( QObject* parent, const char* name, void* devinfo ); | 121 | OBluetoothInterface( QObject* parent, const char* name, void* devinfo, int ctlfd ); |
122 | /** | 122 | /** |
123 | * Destructor. | 123 | * Destructor. |
124 | */ | 124 | */ |
@@ -127,6 +127,14 @@ class OBluetoothInterface : public QObject | |||
127 | * @return the MAC address of the interfaces | 127 | * @return the MAC address of the interfaces |
128 | */ | 128 | */ |
129 | QString macAddress() const; | 129 | QString macAddress() const; |
130 | /** | ||
131 | * Setting an interface to up enables it to receive packets. | ||
132 | */ | ||
133 | bool setUp( bool ); | ||
134 | /** | ||
135 | * @returns true if the interface is up. | ||
136 | */ | ||
137 | bool isUp() const; | ||
130 | 138 | ||
131 | private: | 139 | private: |
132 | class Private; | 140 | class Private; |