author | zecke <zecke> | 2005-02-17 23:52:46 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-02-17 23:52:46 (UTC) |
commit | 9bf35a9978c8a9e8b9c2100abf9137ffefc73e17 (patch) (unidiff) | |
tree | f251c1697f2ed091d8f55eca7aa1b8f4a85c7889 /libopie2/opiecore/device/odevice.cpp | |
parent | 87cbafeb59d0505b631be811bd96fb1d0b1df1f7 (diff) | |
download | opie-9bf35a9978c8a9e8b9c2100abf9137ffefc73e17.zip opie-9bf35a9978c8a9e8b9c2100abf9137ffefc73e17.tar.gz opie-9bf35a9978c8a9e8b9c2100abf9137ffefc73e17.tar.bz2 |
Add OAbstractMobileDevice with implementations for suspend and setDisplayStatus
Switch our implementations over to this partial implementation of ODevice
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index 2c5190c..ed705a6 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp | |||
@@ -255,8 +255,4 @@ ODevice::~ODevice() | |||
255 | } | 255 | } |
256 | 256 | ||
257 | //#include <linux/apm_bios.h> | ||
258 | |||
259 | #define APM_IOC_SUSPEND OD_IO( 'A', 2 ) | ||
260 | |||
261 | /** | 257 | /** |
262 | * This method will try to suspend the device | 258 | * This method will try to suspend the device |
@@ -275,14 +271,4 @@ bool ODevice::suspend() | |||
275 | } | 271 | } |
276 | 272 | ||
277 | //#include <linux/fb.h> better not rely on kernel headers in userspace ... | ||
278 | |||
279 | #define FBIOBLANK OD_IO( 'F', 0x11 ) // 0x4611 | ||
280 | |||
281 | /* VESA Blanking Levels */ | ||
282 | #define VESA_NO_BLANKING 0 | ||
283 | #define VESA_VSYNC_SUSPEND 1 | ||
284 | #define VESA_HSYNC_SUSPEND 2 | ||
285 | #define VESA_POWERDOWN 3 | ||
286 | |||
287 | /** | 273 | /** |
288 | * This sets the display on or off | 274 | * This sets the display on or off |