author | sandman <sandman> | 2002-09-06 19:24:57 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-06 19:24:57 (UTC) |
commit | 98c0d3f0eca58993cb18e740f2a3d07d67c5c64d (patch) (side-by-side diff) | |
tree | 4215a42f10fb9afa11ddfefcf21c6808e2c1ffae /libopie/odevice.h | |
parent | 4acfa3f53762b6c786e421444d23c49c279e556f (diff) | |
download | opie-98c0d3f0eca58993cb18e740f2a3d07d67c5c64d.zip opie-98c0d3f0eca58993cb18e740f2a3d07d67c5c64d.tar.gz opie-98c0d3f0eca58993cb18e740f2a3d07d67c5c64d.tar.bz2 |
Added new functionality to libopie / ODevice, regarding LCD control (on/off
brightness)
-rw-r--r-- | libopie/odevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h index ee01f0f..9dda68e 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h @@ -66,24 +66,28 @@ public: public: static ODevice *inst ( ); // system enum PowerButtonHandler { KERNEL, OPIE }; virtual bool setPowerButtonHandler ( PowerButtonHandler h ); virtual bool suspend ( ); + virtual bool setDisplayStatus ( bool on ); + virtual bool setDisplayBrightness ( int brightness ); + virtual int displayBrightnessResolution ( ) const; + // information QString modelString ( ); OModel model ( ); QString vendorString ( ); OVendor vendor ( ); QString systemString ( ); OSystem system ( ); QString systemVersionString ( ); |