Diffstat (limited to 'libopie2/opiebluez/obluetooth.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiebluez/obluetooth.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libopie2/opiebluez/obluetooth.h b/libopie2/opiebluez/obluetooth.h index fa3d2c1..4bcd964 100644 --- a/libopie2/opiebluez/obluetooth.h +++ b/libopie2/opiebluez/obluetooth.h | |||
@@ -138,62 +138,58 @@ class OBluetoothInterface : public QObject | |||
138 | */ | 138 | */ |
139 | bool setUp( bool ); | 139 | bool setUp( bool ); |
140 | /** | 140 | /** |
141 | * @returns true if the interface is up. | 141 | * @returns true if the interface is up. |
142 | */ | 142 | */ |
143 | bool isUp() const; | 143 | bool isUp() const; |
144 | /** | 144 | /** |
145 | * @returns an iterator usable for iterating through the devices in range. | 145 | * @returns an iterator usable for iterating through the devices in range. |
146 | */ | 146 | */ |
147 | DeviceIterator neighbourhood(); | 147 | DeviceIterator neighbourhood(); |
148 | 148 | ||
149 | private: | 149 | private: |
150 | DeviceMap _devices; | 150 | DeviceMap _devices; |
151 | class Private; | 151 | class Private; |
152 | Private *d; | 152 | Private *d; |
153 | }; | 153 | }; |
154 | 154 | ||
155 | /*====================================================================================== | 155 | /*====================================================================================== |
156 | * OBluetoothDevice | 156 | * OBluetoothDevice |
157 | *======================================================================================*/ | 157 | *======================================================================================*/ |
158 | 158 | ||
159 | /** | 159 | /** |
160 | * @brief An bluetooth (remote) device abstraction. | 160 | * @brief An bluetooth (remote) device abstraction. |
161 | * | 161 | * |
162 | * This class resembles a (remote) bluetooth device. | 162 | * This class resembles a (remote) bluetooth device. |
163 | * @author Michael 'Mickey' Lauer <mickey@vanille.de> | 163 | * @author Michael 'Mickey' Lauer <mickey@vanille.de> |
164 | */ | 164 | */ |
165 | class OBluetoothDevice : public QObject | 165 | class OBluetoothDevice : public QObject |
166 | { | 166 | { |
167 | Q_OBJECT | 167 | Q_OBJECT |
168 | 168 | ||
169 | public: | 169 | public: |
170 | /** | 170 | /** |
171 | * Constructor. | 171 | * Constructor. |
172 | */ | 172 | */ |
173 | OBluetoothDevice( QObject* parent, const char* name, void* inqinfo ); | 173 | OBluetoothDevice( QObject* parent, const char* name, void* inqinfo ); |
174 | /** | 174 | /** |
175 | * Destructor. | 175 | * Destructor. |
176 | */ | 176 | */ |
177 | virtual ~OBluetoothDevice(); | 177 | virtual ~OBluetoothDevice(); |
178 | /** | 178 | /** |
179 | * @returns the MAC address of the device's interface. | 179 | * @returns the MAC address of the device's interface. |
180 | */ | 180 | */ |
181 | QString macAddress() const; | 181 | QString macAddress() const; |
182 | /** | 182 | /** |
183 | * @returns the class of device. | 183 | * @returns the class of device. |
184 | */ | 184 | */ |
185 | QString deviceClass() const; | 185 | QString deviceClass() const; |
186 | /** | ||
187 | * @returns the device name. | ||
188 | */ | ||
189 | QString getName(); | ||
190 | 186 | ||
191 | private: | 187 | private: |
192 | class Private; | 188 | class Private; |
193 | Private *d; | 189 | Private *d; |
194 | }; | 190 | }; |
195 | 191 | ||
196 | } | 192 | } |
197 | } | 193 | } |
198 | #endif | 194 | #endif |
199 | 195 | ||