summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice.h
authoralwin <alwin>2005-03-12 14:16:28 (UTC)
committer alwin <alwin>2005-03-12 14:16:28 (UTC)
commitced8831cd48879e33fa11d45035cc7ff94180897 (patch) (unidiff)
treeeba728c5df05e98e8c381baeea7e13bc1600b15d /libopie2/opiecore/device/odevice.h
parentaa7039012cc79c02304e36db16e6f5ff82e19867 (diff)
downloadopie-ced8831cd48879e33fa11d45035cc7ff94180897.zip
opie-ced8831cd48879e33fa11d45035cc7ff94180897.tar.gz
opie-ced8831cd48879e33fa11d45035cc7ff94180897.tar.bz2
this error will get my personal "error of the month":
due different declarations of "readHingeSensors" (const vs. non-const) rotate-applet always got the default-implementation -> CASE_UNKNOWN. (device vs. device_zaurus). Setting it to "const" (which makes sense) let rotateapplet set light of or suspend or whatever user defined when case is closed.
Diffstat (limited to 'libopie2/opiecore/device/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h
index c434216..e7cd82a 100644
--- a/libopie2/opiecore/device/odevice.h
+++ b/libopie2/opiecore/device/odevice.h
@@ -285,7 +285,7 @@ public:
285 virtual int lightSensorResolution() const; 285 virtual int lightSensorResolution() const;
286 286
287 virtual bool hasHingeSensor() const; 287 virtual bool hasHingeSensor() const;
288 virtual OHingeStatus readHingeSensor(); 288 virtual OHingeStatus readHingeSensor()const;
289 289
290 const QStrList &allowedCpuFrequencies() const; 290 const QStrList &allowedCpuFrequencies() const;
291 bool setCurrentCpuFrequency(uint index); 291 bool setCurrentCpuFrequency(uint index);