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 | |||
@@ -157,12 +157,27 @@ 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 |