summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/linux/opcmciasystem.h
Unidiff
Diffstat (limited to 'libopie2/opiecore/linux/opcmciasystem.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/linux/opcmciasystem.h9
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
@@ -115,24 +115,28 @@ class OPcmciaSocket : public QObject
115 * Destructor. 115 * Destructor.
116 */ 116 */
117 virtual ~OPcmciaSocket(); 117 virtual ~OPcmciaSocket();
118 /** 118 /**
119 * @returns the corresponding socket number 119 * @returns the corresponding socket number
120 */ 120 */
121 int number() const; 121 int number() const;
122 /** 122 /**
123 * @returns the identification string of the card in this socket, or "<Empty Socket>" 123 * @returns the identification string of the card in this socket, or "<Empty Socket>"
124 */ 124 */
125 QString identity() const; 125 QString identity() const;
126 /** 126 /**
127 * @returns true, if the card is unsupported by the cardmgr
128 */
129 bool isUnsupported() const;
130 /**
127 * @returns true, if the socket is empty 131 * @returns true, if the socket is empty
128 */ 132 */
129 bool isEmpty() const; 133 bool isEmpty() const;
130 /** 134 /**
131 * @returns true, if the socket is suspended 135 * @returns true, if the socket is suspended
132 */ 136 */
133 bool isSuspended() const; 137 bool isSuspended() const;
134 /** 138 /**
135 * Eject card. @returns true, if operation succeeded 139 * Eject card. @returns true, if operation succeeded
136 * @note: This operation needs root privileges 140 * @note: This operation needs root privileges
137 */ 141 */
138 bool eject(); 142 bool eject();
@@ -142,24 +146,29 @@ class OPcmciaSocket : public QObject
142 */ 146 */
143 bool insert(); 147 bool insert();
144 /** 148 /**
145 * Suspend card. @returns true, if operation succeeded 149 * Suspend card. @returns true, if operation succeeded
146 * @note: This operation needs root privileges 150 * @note: This operation needs root privileges
147 */ 151 */
148 bool suspend(); 152 bool suspend();
149 /** 153 /**
150 * Resume card. @returns true, if operation succeeded 154 * Resume card. @returns true, if operation succeeded
151 * @note: This operation needs root privileges 155 * @note: This operation needs root privileges
152 */ 156 */
153 bool resume(); 157 bool resume();
158 /**
159 * Reset card. @returns true, if operation succeeded
160 * @note: This operation needs root privileges
161 */
162 bool reset();
154 163
155 protected: 164 protected:
156 165
157 private: 166 private:
158 void init(); 167 void init();
159 bool command( const QString& cmd ); 168 bool command( const QString& cmd );
160 int _socket; 169 int _socket;
161 170
162 private: 171 private:
163 class Private; 172 class Private;
164 Private *d; 173 Private *d;
165}; 174};