summaryrefslogtreecommitdiff
path: root/libopie/odevice.h
authorschurig <schurig>2003-06-05 14:53:05 (UTC)
committer schurig <schurig>2003-06-05 14:53:05 (UTC)
commit9fe856c57c5df5a74f9276f500070f2d90cfe091 (patch) (unidiff)
tree36ed349f9746897b4f2870a2e41c8845dfe1e0e2 /libopie/odevice.h
parent76d25975a76699fedeca6917c530991071fcf4fa (diff)
downloadopie-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
Diffstat (limited to 'libopie/odevice.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.h2
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
@@ -172,24 +172,26 @@ public:
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