Diffstat (limited to 'libopie2/opiecore/device/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h index 6f0d036..21fcc3f 100644 --- a/libopie2/opiecore/device/odevice.h +++ b/libopie2/opiecore/device/odevice.h | |||
@@ -312,63 +312,64 @@ public: | |||
312 | /** | 312 | /** |
313 | * Reassigns the held action for \a button. To return to the factory | 313 | * Reassigns the held action for \a button. To return to the factory |
314 | * default pass an empty string as \a qcopMessage. | 314 | * default pass an empty string as \a qcopMessage. |
315 | */ | 315 | */ |
316 | void remapHeldAction ( int button, const OQCopMessage &qcopMessage ); | 316 | void remapHeldAction ( int button, const OQCopMessage &qcopMessage ); |
317 | 317 | ||
318 | /** | 318 | /** |
319 | * How long (in ms) you have to press a button for a "hold" action | 319 | * How long (in ms) you have to press a button for a "hold" action |
320 | */ | 320 | */ |
321 | uint buttonHoldTime() const; | 321 | uint buttonHoldTime() const; |
322 | 322 | ||
323 | signals: | 323 | signals: |
324 | void buttonMappingChanged(); | 324 | void buttonMappingChanged(); |
325 | 325 | ||
326 | private slots: | 326 | private slots: |
327 | void systemMessage ( const QCString &, const QByteArray & ); | 327 | void systemMessage ( const QCString &, const QByteArray & ); |
328 | void playingStopped(); | 328 | void playingStopped(); |
329 | 329 | ||
330 | protected: | 330 | protected: |
331 | void addPreHandler(QWSServer::KeyboardFilter*aFilter); | 331 | void addPreHandler(QWSServer::KeyboardFilter*aFilter); |
332 | void remPreHandler(QWSServer::KeyboardFilter*aFilter); | 332 | void remPreHandler(QWSServer::KeyboardFilter*aFilter); |
333 | void reloadButtonMapping(); | 333 | void reloadButtonMapping(); |
334 | void changeMixerForAlarm( int mixer, const char* file, Sound *snd); | 334 | void changeMixerForAlarm( int mixer, const char* file, Sound *snd); |
335 | 335 | ||
336 | /* ugly virtual hook */ | 336 | /* ugly virtual hook */ |
337 | virtual void virtual_hook( int id, void* data ); | 337 | virtual void virtual_hook( int id, void* data ); |
338 | }; | 338 | }; |
339 | 339 | ||
340 | class ODeviceData { | 340 | class ODeviceData { |
341 | 341 | ||
342 | public: | 342 | public: |
343 | QString m_vendorstr; | 343 | QString m_vendorstr; |
344 | OVendor m_vendor; | 344 | OVendor m_vendor; |
345 | 345 | ||
346 | QString m_modelstr; | 346 | QString m_modelstr; |
347 | OModel m_model; | 347 | OModel m_model; |
348 | 348 | ||
349 | QString m_systemstr; | 349 | QString m_systemstr; |
350 | OSystem m_system; | 350 | OSystem m_system; |
351 | 351 | ||
352 | QString m_sysverstr; | 352 | QString m_sysverstr; |
353 | 353 | ||
354 | Transformation m_rotation; | 354 | Transformation m_rotation; |
355 | ODirection m_direction; | 355 | ODirection m_direction; |
356 | 356 | ||
357 | QValueList <ODeviceButton> *m_buttons; | 357 | QValueList <ODeviceButton> *m_buttons; |
358 | uint m_holdtime; | 358 | uint m_holdtime; |
359 | QStrList *m_cpu_frequencies; | 359 | QStrList *m_cpu_frequencies; |
360 | boolm_initializedButtonQcop : 1; | ||
360 | 361 | ||
361 | /* values for changeMixerForAlarm */ | 362 | /* values for changeMixerForAlarm */ |
362 | int m_sound, m_vol, m_mixer; | 363 | int m_sound, m_vol, m_mixer; |
363 | }; | 364 | }; |
364 | 365 | ||
365 | extern bool isQWS(); | 366 | extern bool isQWS(); |
366 | extern QCString makeChannel ( const char *str ); | 367 | extern QCString makeChannel ( const char *str ); |
367 | } | 368 | } |
368 | } | 369 | } |
369 | 370 | ||
370 | 371 | ||
371 | 372 | ||
372 | 373 | ||
373 | #endif | 374 | #endif |
374 | 375 | ||