author | schurig <schurig> | 2003-06-05 14:53:05 (UTC) |
---|---|---|
committer | schurig <schurig> | 2003-06-05 14:53:05 (UTC) |
commit | 9fe856c57c5df5a74f9276f500070f2d90cfe091 (patch) (unidiff) | |
tree | 36ed349f9746897b4f2870a2e41c8845dfe1e0e2 /libopie/odevice.h | |
parent | 76d25975a76699fedeca6917c530991071fcf4fa (diff) | |
download | opie-9fe856c57c5df5a74f9276f500070f2d90cfe091.zip opie-9fe856c57c5df5a74f9276f500070f2d90cfe091.tar.gz opie-9fe856c57c5df5a74f9276f500070f2d90cfe091.tar.bz2 |
added ODevice::setDisplayContrast(), ODevice::displayContrast() as virtual function,
which will break binary compatibility, but zecke said I shoud for now do it this way.
assorted Ramses specific patches
-rw-r--r-- | libopie/odevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h index 5829440..6c4830e 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h | |||
@@ -168,32 +168,34 @@ public: | |||
168 | QString systemString ( ) const; | 168 | QString systemString ( ) const; |
169 | OSystem system ( ) const; | 169 | OSystem system ( ) const; |
170 | 170 | ||
171 | QString systemVersionString ( ) const; | 171 | QString systemVersionString ( ) const; |
172 | 172 | ||
173 | Transformation rotation ( ) const; | 173 | Transformation rotation ( ) const; |
174 | ODirection direction ( ) const; | 174 | ODirection direction ( ) const; |
175 | 175 | ||
176 | // system | 176 | // system |
177 | 177 | ||
178 | virtual bool setSoftSuspend ( bool on ); | 178 | virtual bool setSoftSuspend ( bool on ); |
179 | virtual bool suspend ( ); | 179 | virtual bool suspend ( ); |
180 | 180 | ||
181 | virtual bool setDisplayStatus ( bool on ); | 181 | virtual bool setDisplayStatus ( bool on ); |
182 | virtual bool setDisplayBrightness ( int brightness ); | 182 | virtual bool setDisplayBrightness ( int brightness ); |
183 | virtual int displayBrightnessResolution ( ) const; | 183 | virtual int displayBrightnessResolution ( ) const; |
184 | virtual bool setDisplayContrast ( int contrast ); | ||
185 | virtual int displayContrastResolution ( ) const; | ||
184 | 186 | ||
185 | // input / output | 187 | // input / output |
186 | //FIXME playAlarmSound and al might be better -zecke | 188 | //FIXME playAlarmSound and al might be better -zecke |
187 | virtual void alarmSound ( ); | 189 | virtual void alarmSound ( ); |
188 | virtual void keySound ( ); | 190 | virtual void keySound ( ); |
189 | virtual void touchSound ( ); | 191 | virtual void touchSound ( ); |
190 | 192 | ||
191 | virtual QValueList <OLed> ledList ( ) const; | 193 | virtual QValueList <OLed> ledList ( ) const; |
192 | virtual QValueList <OLedState> ledStateList ( OLed led ) const; | 194 | virtual QValueList <OLedState> ledStateList ( OLed led ) const; |
193 | virtual OLedState ledState ( OLed led ) const; | 195 | virtual OLedState ledState ( OLed led ) const; |
194 | virtual bool setLedState ( OLed led, OLedState st ); | 196 | virtual bool setLedState ( OLed led, OLedState st ); |
195 | 197 | ||
196 | virtual bool hasLightSensor ( ) const; | 198 | virtual bool hasLightSensor ( ) const; |
197 | virtual int readLightSensor ( ); | 199 | virtual int readLightSensor ( ); |
198 | virtual int lightSensorResolution ( ) const; | 200 | virtual int lightSensorResolution ( ) const; |
199 | 201 | ||