author | alwin <alwin> | 2005-03-12 14:16:28 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-12 14:16:28 (UTC) |
commit | ced8831cd48879e33fa11d45035cc7ff94180897 (patch) (unidiff) | |
tree | eba728c5df05e98e8c381baeea7e13bc1600b15d /libopie2/opiecore/device/odevice.cpp | |
parent | aa7039012cc79c02304e36db16e6f5ff82e19867 (diff) | |
download | opie-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.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index ed705a6..cf2061b 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp | |||
@@ -512,13 +512,13 @@ bool ODevice::hasHingeSensor() const | |||
512 | return false; | 512 | return false; |
513 | } | 513 | } |
514 | 514 | ||
515 | /** | 515 | /** |
516 | * @return a value from the hinge sensor | 516 | * @return a value from the hinge sensor |
517 | */ | 517 | */ |
518 | OHingeStatus ODevice::readHingeSensor() | 518 | OHingeStatus ODevice::readHingeSensor()const |
519 | { | 519 | { |
520 | return CASE_UNKNOWN; | 520 | return CASE_UNKNOWN; |
521 | } | 521 | } |
522 | 522 | ||
523 | /** | 523 | /** |
524 | * @return a list with CPU frequencies supported by the hardware | 524 | * @return a list with CPU frequencies supported by the hardware |