Diffstat (limited to 'libopie2/opiebluez/obluetooth.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiebluez/obluetooth.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/libopie2/opiebluez/obluetooth.h b/libopie2/opiebluez/obluetooth.h index ee4a90d..fa3d2c1 100644 --- a/libopie2/opiebluez/obluetooth.h +++ b/libopie2/opiebluez/obluetooth.h @@ -131,5 +131,5 @@ class OBluetoothInterface : public QObject virtual ~OBluetoothInterface(); /** - * @return the MAC address of the interfaces + * @return the MAC address of the interface. */ QString macAddress() const; @@ -143,5 +143,5 @@ class OBluetoothInterface : public QObject bool isUp() const; /** - * @returns an iterator usable for iterating through the devices in range + * @returns an iterator usable for iterating through the devices in range. */ DeviceIterator neighbourhood(); @@ -171,5 +171,5 @@ class OBluetoothDevice : public QObject * Constructor. */ - OBluetoothDevice( QObject* parent, const char* name ); + OBluetoothDevice( QObject* parent, const char* name, void* inqinfo ); /** * Destructor. @@ -177,7 +177,19 @@ class OBluetoothDevice : public QObject virtual ~OBluetoothDevice(); /** - * @returns the MAC address of the device's interface + * @returns the MAC address of the device's interface. */ QString macAddress() const; + /** + * @returns the class of device. + */ + QString deviceClass() const; + /** + * @returns the device name. + */ + QString getName(); + + private: + class Private; + Private *d; }; |