-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 | |||
@@ -160,48 +160,50 @@ public: | |||
160 | 160 | ||
161 | QString modelString ( ) const; | 161 | QString modelString ( ) const; |
162 | OModel model ( ) const; | 162 | OModel model ( ) const; |
163 | inline OModel series ( ) const { return (OModel) ( model ( ) & Model_Series_Mask ); } | 163 | inline OModel series ( ) const { return (OModel) ( model ( ) & Model_Series_Mask ); } |
164 | 164 | ||
165 | QString vendorString ( ) const; | 165 | QString vendorString ( ) const; |
166 | OVendor vendor ( ) const; | 166 | OVendor vendor ( ) const; |
167 | 167 | ||
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 | ||
200 | /** | 202 | /** |
201 | * Returns the available buttons on this device. The number and location | 203 | * Returns the available buttons on this device. The number and location |
202 | * of buttons will vary depending on the device. Button numbers will be assigned | 204 | * of buttons will vary depending on the device. Button numbers will be assigned |
203 | * by the device manufacturer and will be from most preferred button to least preffered | 205 | * by the device manufacturer and will be from most preferred button to least preffered |
204 | * button. Note that this list only contains "user mappable" buttons. | 206 | * button. Note that this list only contains "user mappable" buttons. |
205 | */ | 207 | */ |
206 | const QValueList<ODeviceButton> &buttons ( ); | 208 | const QValueList<ODeviceButton> &buttons ( ); |
207 | 209 | ||