Diffstat (limited to 'libopie2/opiecore/linux/opcmciasystem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/linux/opcmciasystem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libopie2/opiecore/linux/opcmciasystem.h b/libopie2/opiecore/linux/opcmciasystem.h index 0fd43cf..23d8c41 100644 --- a/libopie2/opiecore/linux/opcmciasystem.h +++ b/libopie2/opiecore/linux/opcmciasystem.h | |||
@@ -167,51 +167,55 @@ class OPcmciaSocket : public QObject | |||
167 | * @note: This operation needs root privileges | 167 | * @note: This operation needs root privileges |
168 | */ | 168 | */ |
169 | bool eject(); | 169 | bool eject(); |
170 | /** | 170 | /** |
171 | * Insert card. @returns true, if operation succeeded | 171 | * Insert card. @returns true, if operation succeeded |
172 | * @note: This operation needs root privileges | 172 | * @note: This operation needs root privileges |
173 | */ | 173 | */ |
174 | bool insert(); | 174 | bool insert(); |
175 | /** | 175 | /** |
176 | * Suspend card. @returns true, if operation succeeded | 176 | * Suspend card. @returns true, if operation succeeded |
177 | * @note: This operation needs root privileges | 177 | * @note: This operation needs root privileges |
178 | */ | 178 | */ |
179 | bool suspend(); | 179 | bool suspend(); |
180 | /** | 180 | /** |
181 | * Resume card. @returns true, if operation succeeded | 181 | * Resume card. @returns true, if operation succeeded |
182 | * @note: This operation needs root privileges | 182 | * @note: This operation needs root privileges |
183 | */ | 183 | */ |
184 | bool resume(); | 184 | bool resume(); |
185 | /** | 185 | /** |
186 | * Reset card. @returns true, if operation succeeded | 186 | * Reset card. @returns true, if operation succeeded |
187 | * @note: This operation needs root privileges | 187 | * @note: This operation needs root privileges |
188 | */ | 188 | */ |
189 | bool reset(); | 189 | bool reset(); |
190 | /** | 190 | /** |
191 | * @returns a list of product IDs | 191 | * @returns the product ID vector |
192 | */ | ||
193 | QStringList productIdentityVector() const; | ||
194 | /** | ||
195 | * @returns the product ID string | ||
192 | */ | 196 | */ |
193 | QStringList productIdentity() const; | 197 | QString productIdentity() const; |
194 | /** | 198 | /** |
195 | * @returns the manufacturer ID string | 199 | * @returns the manufacturer ID string |
196 | */ | 200 | */ |
197 | QString manufacturerIdentity() const; | 201 | QString manufacturerIdentity() const; |
198 | /** | 202 | /** |
199 | * @returns the function string | 203 | * @returns the function string |
200 | */ | 204 | */ |
201 | QString function() const; | 205 | QString function() const; |
202 | 206 | ||
203 | private: | 207 | private: |
204 | void init(); | 208 | void init(); |
205 | void cleanup(); | 209 | void cleanup(); |
206 | bool getTuple( cisdata_t tuple ) const; | 210 | bool getTuple( cisdata_t tuple ) const; |
207 | int _major; | 211 | int _major; |
208 | int _socket; | 212 | int _socket; |
209 | int _fd; | 213 | int _fd; |
210 | mutable ds_ioctl_arg_t _ioctlarg; | 214 | mutable ds_ioctl_arg_t _ioctlarg; |
211 | 215 | ||
212 | private: | 216 | private: |
213 | class Private; | 217 | class Private; |
214 | Private *d; | 218 | Private *d; |
215 | }; | 219 | }; |
216 | 220 | ||
217 | 221 | ||