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 | |||
@@ -109,33 +109,41 @@ class OBluetooth : public QObject | |||
109 | * @warning Most of the setting methods contained in this class require the appropriate | 109 | * @warning Most of the setting methods contained in this class require the appropriate |
110 | * process permissions to work. | 110 | * process permissions to work. |
111 | * | 111 | * |
112 | * @author Michael 'Mickey' Lauer <mickey@vanille.de> | 112 | * @author Michael 'Mickey' Lauer <mickey@vanille.de> |
113 | */ | 113 | */ |
114 | class OBluetoothInterface : public QObject | 114 | 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 | ||
136 | 144 | ||
137 | 145 | ||
138 | } | 146 | } |
139 | } | 147 | } |
140 | #endif | 148 | #endif |
141 | 149 | ||