summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice.h
Unidiff
Diffstat (limited to 'libopie2/opiecore/device/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h
index 0eed1c9..492c97b 100644
--- a/libopie2/opiecore/device/odevice.h
+++ b/libopie2/opiecore/device/odevice.h
@@ -200,49 +200,49 @@ enum OHingeStatus {
200 CASE_LANDSCAPE = 0, 200 CASE_LANDSCAPE = 0,
201 CASE_UNKNOWN = 1, 201 CASE_UNKNOWN = 1,
202}; 202};
203 203
204/* default button for qvfb or such 204/* default button for qvfb or such
205 * see odevice.cpp for details. 205 * see odevice.cpp for details.
206 * hint: manage a user defined button for qvfb? 206 * hint: manage a user defined button for qvfb?
207 * alwin 207 * alwin
208 */ 208 */
209struct default_button { 209struct default_button {
210 Qt::Key code; 210 Qt::Key code;
211 char *utext; 211 char *utext;
212 char *pix; 212 char *pix;
213 char *fpressedservice; 213 char *fpressedservice;
214 char *fpressedaction; 214 char *fpressedaction;
215 char *fheldservice; 215 char *fheldservice;
216 char *fheldaction; 216 char *fheldaction;
217}; 217};
218 218
219/** 219/**
220 * A singleton which gives informations about device specefic option 220 * A singleton which gives informations about device specefic option
221 * like the Hardware used, LEDs, the Base Distribution and 221 * like the Hardware used, LEDs, the Base Distribution and
222 * hardware key mappings. 222 * hardware key mappings.
223 * 223 *
224 * @short A small class for device specefic options 224 * @short A small class for device specific options
225 * @see QObject 225 * @see QObject
226 * @author Robert Griebl 226 * @author Robert Griebl
227 * @version 1.0 227 * @version 1.0
228 */ 228 */
229class ODevice : public QObject 229class ODevice : public QObject
230{ 230{
231 Q_OBJECT 231 Q_OBJECT
232 232
233private: 233private:
234 /* disable copy */ 234 /* disable copy */
235 ODevice ( const ODevice & ); 235 ODevice ( const ODevice & );
236 236
237protected: 237protected:
238 ODevice(); 238 ODevice();
239 virtual void init(const QString&); 239 virtual void init(const QString&);
240 virtual void initButtons(); 240 virtual void initButtons();
241 static void sendSuspendmsg(); 241 static void sendSuspendmsg();
242 242
243 ODeviceData *d; 243 ODeviceData *d;
244 244
245public: 245public:
246 // sandman do we want to allow destructions? -zecke? 246 // sandman do we want to allow destructions? -zecke?
247 virtual ~ODevice(); 247 virtual ~ODevice();
248 static ODevice *inst(); 248 static ODevice *inst();