-rw-r--r-- | libopie/odevice.h | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h index ff578d8..45a790b 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h | |||
@@ -34,4 +34,7 @@ namespace Opie { | |||
34 | 34 | ||
35 | /** | ||
36 | * The available devices | ||
37 | */ | ||
35 | enum OModel { | 38 | enum OModel { |
36 | Model_Unknown, | 39 | Model_Unknown, // = 0 |
37 | 40 | ||
@@ -57,2 +60,5 @@ enum OModel { | |||
57 | 60 | ||
61 | /** | ||
62 | * The vendor of the device | ||
63 | */ | ||
58 | enum OVendor { | 64 | enum OVendor { |
@@ -64,2 +70,5 @@ enum OVendor { | |||
64 | 70 | ||
71 | /** | ||
72 | * The System used | ||
73 | */ | ||
65 | enum OSystem { | 74 | enum OSystem { |
@@ -96,2 +105,13 @@ enum OHardKey { | |||
96 | 105 | ||
106 | /** | ||
107 | * A singleton which gives informations about device specefic option | ||
108 | * like the Hardware used, LEDs, the Base Distribution and | ||
109 | * hardware key mappings. | ||
110 | * | ||
111 | * | ||
112 | * @short A small class for device specefic options | ||
113 | * @see QObject | ||
114 | * @author Robert Griebl | ||
115 | * @version 1.0 | ||
116 | */ | ||
97 | class ODevice : public QObject { | 117 | class ODevice : public QObject { |
@@ -100,2 +120,3 @@ class ODevice : public QObject { | |||
100 | private: | 120 | private: |
121 | /* disable copy */ | ||
101 | ODevice ( const ODevice & ); | 122 | ODevice ( const ODevice & ); |
@@ -110,4 +131,6 @@ protected: | |||
110 | public: | 131 | public: |
132 | // sandman do we want to allow destructions? -zecke? | ||
111 | virtual ~ODevice ( ); | 133 | virtual ~ODevice ( ); |
112 | 134 | ||
135 | |||
113 | static ODevice *inst ( ); | 136 | static ODevice *inst ( ); |
@@ -140,3 +163,3 @@ public: | |||
140 | // input / output | 163 | // input / output |
141 | 164 | //FIXME playAlarmSound and al might be better -zecke | |
142 | virtual void alarmSound ( ); | 165 | virtual void alarmSound ( ); |