#include </home/clem/local/src/opie/libopie2/opiecore/device/odevice_abstractmobiledevice.h>
Inheritance diagram for Opie::Core::OAbstractMobileDevice:


Public Member Functions | |
| virtual bool | suspend () |
| virtual bool | setDisplayStatus (bool) |
Protected Member Functions | |
| OAbstractMobileDevice () | |
| void | setAPMTimeOut (int time) |
| Time to wait for the asynchronos APM implementation to suspend. | |
Protected Attributes | |
| int | m_timeOut |
Abstract Class with implementation for suspending using asynchrnonus apm implementations and displaystatus using the Linux Frame Buffer API
Definition at line 48 of file odevice_abstractmobiledevice.h.
|
|
Definition at line 45 of file odevice_abstractmobiledevice.cpp. |
|
|
Time to wait for the asynchronos APM implementation to suspend. Milli Seconds to wait before returning from the suspend method. This is needed due asynchrnonus implementations of the APM bios. Definition at line 56 of file odevice_abstractmobiledevice.cpp. References m_timeOut. Referenced by Opie::Core::Internal::Zaurus::init(). |
|
|
This sets the display on or off Reimplemented from Opie::Core::ODevice. Reimplemented in Opie::Core::Internal::Beagle, Opie::Core::Internal::iPAQ, Opie::Core::Internal::Jornada, Opie::Core::Internal::MyPal, Opie::Core::Internal::SIMpad, and Opie::Core::Internal::Zaurus. Definition at line 104 of file odevice_abstractmobiledevice.cpp. References FBIOBLANK, VESA_NO_BLANKING, and VESA_POWERDOWN. Referenced by Opie::Core::Internal::MyPal::setDisplayStatus(), and Opie::Core::Internal::iPAQ::setDisplayStatus(). |
|
|
This method will try to suspend the device It only works if the user is the QWS Server and the apm application is installed. It tries to suspend and then waits some time cause some distributions do have asynchronus apm implementations. This method will either fail and return false or it'll suspend the device and return once the device got woken up
Reimplemented from Opie::Core::ODevice. Reimplemented in Opie::Core::Internal::SIMpad, Opie::Core::Internal::Yopy, and Opie::Core::Internal::Zaurus. Definition at line 61 of file odevice_abstractmobiledevice.cpp. References Opie::Core::isQWS(), m_timeOut, QCopChannel::send(), and Opie::Core::ODevice::system(). |
|
|
Definition at line 58 of file odevice_abstractmobiledevice.h. Referenced by setAPMTimeOut(), Opie::Core::Internal::Zaurus::suspend(), and suspend(). |
1.4.2