author | sandman <sandman> | 2002-10-29 15:50:21 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-29 15:50:21 (UTC) |
commit | bad66a2ea2aea8bec1c7895b0e1a461e2f4859c2 (patch) (side-by-side diff) | |
tree | 6a39587f58ff01456fff0a6d17d5564d28bb4f4f /libopie/odevice.h | |
parent | 6224d462ef211b3b4cffa42d4a7f261caa92834b (diff) | |
download | opie-bad66a2ea2aea8bec1c7895b0e1a461e2f4859c2.zip opie-bad66a2ea2aea8bec1c7895b0e1a461e2f4859c2.tar.gz opie-bad66a2ea2aea8bec1c7895b0e1a461e2f4859c2.tar.bz2 |
added lightSensorResolution() to get the hardware resolution of the light
sensor
-rw-r--r-- | libopie/odevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h index be2a9c7..e07b91c 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h @@ -106,40 +106,41 @@ public: OModel model ( ) const; QString vendorString ( ) const; OVendor vendor ( ) const; QString systemString ( ) const; OSystem system ( ) const; QString systemVersionString ( ) const; // system virtual bool setSoftSuspend ( bool on ); virtual bool suspend ( ); virtual bool setDisplayStatus ( bool on ); virtual bool setDisplayBrightness ( int brightness ); virtual int displayBrightnessResolution ( ) const; // input / output virtual void alarmSound ( ); virtual void keySound ( ); virtual void touchSound ( ); virtual QValueList <OLed> ledList ( ) const; virtual QValueList <OLedState> ledStateList ( OLed led ) const; virtual OLedState ledState ( OLed led ) const; virtual bool setLedState ( OLed led, OLedState st ); virtual bool hasLightSensor ( ) const; virtual int readLightSensor ( ); + virtual int lightSensorResolution ( ) const; //virtual QValueList <int> keyList ( ) const; }; } #endif |