summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice.cpp
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp14
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
@@ -251,16 +251,12 @@ ODevice::~ODevice()
// we leak m_devicebuttons and m_cpu_frequency
// but it's a singleton and it is not so importantant
// -zecke
delete d;
}
-//#include <linux/apm_bios.h>
-
-#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
* is installed.
* It tries to suspend and then waits some time cause some distributions
* do have asynchronus apm implementations.
@@ -271,22 +267,12 @@ ODevice::~ODevice()
*/
bool ODevice::suspend()
{
return false; // default implementation == unknown device or qvfb
}
-//#include <linux/fb.h> 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
*/
bool ODevice::setDisplayStatus( bool on )
{
qDebug( "ODevice::setDisplayStatus( %d ) - please override me.", on );