Diffstat (limited to 'libopie2/opiecore/device/odevice.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h index 5ee9cca..0ba58f0 100644 --- a/libopie2/opiecore/device/odevice.h +++ b/libopie2/opiecore/device/odevice.h | |||
@@ -151,24 +151,39 @@ enum ODirection { | |||
151 | CW = 0, | 151 | CW = 0, |
152 | CCW = 1, | 152 | CCW = 1, |
153 | Flip = 2, | 153 | Flip = 2, |
154 | }; | 154 | }; |
155 | 155 | ||
156 | enum OHingeStatus { | 156 | enum OHingeStatus { |
157 | CASE_CLOSED = 3, | 157 | CASE_CLOSED = 3, |
158 | CASE_PORTRAIT = 2, | 158 | CASE_PORTRAIT = 2, |
159 | CASE_LANDSCAPE = 0, | 159 | CASE_LANDSCAPE = 0, |
160 | CASE_UNKNOWN = 1, | 160 | CASE_UNKNOWN = 1, |
161 | }; | 161 | }; |
162 | 162 | ||
163 | /* default button for qvfb or such | ||
164 | * see odevice.cpp for details. | ||
165 | * hint: manage a user defined button for qvfb? | ||
166 | * alwin | ||
167 | */ | ||
168 | struct default_button { | ||
169 | Qt::Key code; | ||
170 | char *utext; | ||
171 | char *pix; | ||
172 | char *fpressedservice; | ||
173 | char *fpressedaction; | ||
174 | char *fheldservice; | ||
175 | char *fheldaction; | ||
176 | }; | ||
177 | |||
163 | /** | 178 | /** |
164 | * A singleton which gives informations about device specefic option | 179 | * A singleton which gives informations about device specefic option |
165 | * like the Hardware used, LEDs, the Base Distribution and | 180 | * like the Hardware used, LEDs, the Base Distribution and |
166 | * hardware key mappings. | 181 | * hardware key mappings. |
167 | * | 182 | * |
168 | * @short A small class for device specefic options | 183 | * @short A small class for device specefic options |
169 | * @see QObject | 184 | * @see QObject |
170 | * @author Robert Griebl | 185 | * @author Robert Griebl |
171 | * @version 1.0 | 186 | * @version 1.0 |
172 | */ | 187 | */ |
173 | class ODevice : public QObject | 188 | class ODevice : public QObject |
174 | { | 189 | { |