Diffstat (limited to 'libopie2/opiecore/linux/opcmciasystem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/linux/opcmciasystem.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libopie2/opiecore/linux/opcmciasystem.h b/libopie2/opiecore/linux/opcmciasystem.h index 4b445aa..630a434 100644 --- a/libopie2/opiecore/linux/opcmciasystem.h +++ b/libopie2/opiecore/linux/opcmciasystem.h @@ -103,69 +103,78 @@ class OPcmciaSystem : public QObject class OPcmciaSocket : public QObject { Q_OBJECT public: /** * Constructor. Normally you don't create @ref OPcmciaSocket objects yourself, * but access them via @ref OPcmciaSystem::card(). */ OPcmciaSocket( int socket, QObject* parent, const char* name ); /** * Destructor. */ virtual ~OPcmciaSocket(); /** * @returns the corresponding socket number */ int number() const; /** * @returns the identification string of the card in this socket, or "<Empty Socket>" */ QString identity() const; /** + * @returns true, if the card is unsupported by the cardmgr + */ + bool isUnsupported() const; + /** * @returns true, if the socket is empty */ bool isEmpty() const; /** * @returns true, if the socket is suspended */ bool isSuspended() const; /** * Eject card. @returns true, if operation succeeded * @note: This operation needs root privileges */ bool eject(); /** * Insert card. @returns true, if operation succeeded * @note: This operation needs root privileges */ bool insert(); /** * Suspend card. @returns true, if operation succeeded * @note: This operation needs root privileges */ 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(); protected: private: void init(); bool command( const QString& cmd ); int _socket; private: class Private; Private *d; }; } } #endif // OPCMCIASYSTEM_H |