Diffstat (limited to 'libopie2/opiebluez/obluetooth.h') (more/less context) (ignore 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 | |||
@@ -115,21 +115,29 @@ class OBluetoothInterface : public QObject | |||
115 | { | 115 | { |
116 | public: | 116 | public: |
117 | /** | 117 | /** |
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 | */ |
125 | virtual ~OBluetoothInterface(); | 125 | virtual ~OBluetoothInterface(); |
126 | /** | 126 | /** |
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; |
133 | Private *d; | 141 | Private *d; |
134 | }; | 142 | }; |
135 | 143 | ||