From 9bf35a9978c8a9e8b9c2100abf9137ffefc73e17 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 17 Feb 2005 23:52:46 +0000 Subject: Add OAbstractMobileDevice with implementations for suspend and setDisplayStatus Switch our implementations over to this partial implementation of ODevice --- (limited to 'libopie2/opiecore/device/odevice.cpp') 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 @@ -254,10 +254,6 @@ ODevice::~ODevice() delete d; } -//#include - -#define APM_IOC_SUSPEND OD_IO( 'A', 2 ) - /** * This method will try to suspend the device * It only works if the user is the QWS Server and the apm application @@ -274,16 +270,6 @@ bool ODevice::suspend() return false; // default implementation == unknown device or qvfb } -//#include better not rely on kernel headers in userspace ... - -#define FBIOBLANK OD_IO( 'F', 0x11 ) // 0x4611 - -/* VESA Blanking Levels */ -#define VESA_NO_BLANKING 0 -#define VESA_VSYNC_SUSPEND 1 -#define VESA_HSYNC_SUSPEND 2 -#define VESA_POWERDOWN 3 - /** * This sets the display on or off */ -- cgit v0.9.0.2