author | erik <erik> | 2007-04-20 21:27:48 (UTC) |
---|---|---|
committer | erik <erik> | 2007-04-20 21:27:48 (UTC) |
commit | 1edbb754d3c8cfccf1630e2ad1e531e907555cbd (patch) (side-by-side diff) | |
tree | c8f3048a913d51534408f5ae75f6f8e7ff73d144 /libopie2/opiebluez/obluetooth.h | |
parent | d07beba6b9351c6b575235522781e3ce8495e578 (diff) | |
download | opie-1edbb754d3c8cfccf1630e2ad1e531e907555cbd.zip opie-1edbb754d3c8cfccf1630e2ad1e531e907555cbd.tar.gz opie-1edbb754d3c8cfccf1630e2ad1e531e907555cbd.tar.bz2 |
removed unused member function
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 @@ -58,142 +58,138 @@ class OBluetooth : public QObject /** * @returns the number of available interfaces */ int count() const; /** * @returns a pointer to the (one and only) @ref OBluetooth instance. */ static OBluetooth* instance(); /** * @returns an iterator usable for iterating through all network interfaces. */ InterfaceIterator iterator() const; /** * @returns true, if the @a interface is present. */ bool isPresent( const char* interface ) const; /** * @returns true, if the @a interface supports the wireless extension protocol. */ bool isWirelessInterface( const char* interface ) const; /** * @returns a pointer to the @ref OBluetoothInterface object for the specified @a interface or 0, if not found. * @see OBluetoothInterface */ OBluetoothInterface* interface( const QString& interface ) const; /** * @internal Rebuild the internal interface database * @note Sometimes it might be useful to call this from client code, * e.g. after issuing a cardctl insert */ void synchronize(); protected: OBluetooth(); private: static OBluetooth* _instance; InterfaceMap _interfaces; class OBluetoothPrivate; OBluetoothPrivate *d; int _fd; }; /*====================================================================================== * OBluetoothInterface *======================================================================================*/ /** * @brief An bluetooth interface wrapper. * * This class provides a wrapper for a bluetooth HCI device. All the cumbersome details of * Linux ioctls are hidden under a convenient high-level interface. * @warning Most of the setting methods contained in this class require the appropriate * process permissions to work. * * @author Michael 'Mickey' Lauer <mickey@vanille.de> */ class OBluetoothInterface : public QObject { Q_OBJECT public: typedef QDict<OBluetoothDevice> DeviceMap; typedef QDictIterator<OBluetoothDevice> DeviceIterator; public: /** * 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, int ctlfd ); /** * Destructor. */ virtual ~OBluetoothInterface(); /** * @return the MAC address of the interface. */ 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; /** * @returns an iterator usable for iterating through the devices in range. */ DeviceIterator neighbourhood(); private: DeviceMap _devices; class Private; Private *d; }; /*====================================================================================== * OBluetoothDevice *======================================================================================*/ /** * @brief An bluetooth (remote) device abstraction. * * This class resembles a (remote) bluetooth device. * @author Michael 'Mickey' Lauer <mickey@vanille.de> */ class OBluetoothDevice : public QObject { Q_OBJECT public: /** * Constructor. */ OBluetoothDevice( QObject* parent, const char* name, void* inqinfo ); /** * Destructor. */ virtual ~OBluetoothDevice(); /** * @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; }; } } #endif |