author | mickeyl <mickeyl> | 2005-06-25 15:29:59 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-06-25 15:29:59 (UTC) |
commit | 790aeb8898d635468c2b9e24fd16a70aab64b1dd (patch) (side-by-side diff) | |
tree | 72139f02106b88325efbb39fc11f5ccd79ce29fb /libopie2/opiecore/linux/opcmciasystem.h | |
parent | 3d434ac35915afe7f7035468ca18656264a91c52 (diff) | |
download | opie-790aeb8898d635468c2b9e24fd16a70aab64b1dd.zip opie-790aeb8898d635468c2b9e24fd16a70aab64b1dd.tar.gz opie-790aeb8898d635468c2b9e24fd16a70aab64b1dd.tar.bz2 |
- fix logic in isEmpty() and isSuspended()
- add convenience API productIdentityVendor()
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 @@ -179,27 +179,31 @@ class OPcmciaSocket : public QObject bool suspend(); /** * Resume card. @returns true, if operation succeeded * @note: This operation needs root privileges */ bool resume(); /** * Reset card. @returns true, if operation succeeded * @note: This operation needs root privileges */ bool reset(); /** - * @returns a list of product IDs + * @returns the product ID vector + */ + QStringList productIdentityVector() const; + /** + * @returns the product ID string */ - QStringList productIdentity() const; + QString productIdentity() const; /** * @returns the manufacturer ID string */ QString manufacturerIdentity() const; /** * @returns the function string */ QString function() const; private: void init(); void cleanup(); |