Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (ignore 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 | |||
@@ -494,49 +494,49 @@ bool ODevice::hasLightSensor() const | |||
494 | int ODevice::readLightSensor() | 494 | int ODevice::readLightSensor() |
495 | { | 495 | { |
496 | return -1; | 496 | return -1; |
497 | } | 497 | } |
498 | 498 | ||
499 | /** | 499 | /** |
500 | * @return the light sensor resolution | 500 | * @return the light sensor resolution |
501 | */ | 501 | */ |
502 | int ODevice::lightSensorResolution() const | 502 | int ODevice::lightSensorResolution() const |
503 | { | 503 | { |
504 | return 0; | 504 | return 0; |
505 | } | 505 | } |
506 | 506 | ||
507 | /** | 507 | /** |
508 | * @return if the device has a hinge sensor | 508 | * @return if the device has a hinge sensor |
509 | */ | 509 | */ |
510 | bool ODevice::hasHingeSensor() const | 510 | bool ODevice::hasHingeSensor() const |
511 | { | 511 | { |
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 |
525 | */ | 525 | */ |
526 | const QStrList &ODevice::allowedCpuFrequencies() const | 526 | const QStrList &ODevice::allowedCpuFrequencies() const |
527 | { | 527 | { |
528 | return *d->m_cpu_frequencies; | 528 | return *d->m_cpu_frequencies; |
529 | } | 529 | } |
530 | 530 | ||
531 | 531 | ||
532 | /** | 532 | /** |
533 | * Set desired CPU frequency | 533 | * Set desired CPU frequency |
534 | * | 534 | * |
535 | * @param index index into d->m_cpu_frequencies of the frequency to be set | 535 | * @param index index into d->m_cpu_frequencies of the frequency to be set |
536 | */ | 536 | */ |
537 | bool ODevice::setCurrentCpuFrequency(uint index) | 537 | bool ODevice::setCurrentCpuFrequency(uint index) |
538 | { | 538 | { |
539 | if (index >= d->m_cpu_frequencies->count()) | 539 | if (index >= d->m_cpu_frequencies->count()) |
540 | return false; | 540 | return false; |
541 | 541 | ||
542 | char *freq = d->m_cpu_frequencies->at(index); | 542 | char *freq = d->m_cpu_frequencies->at(index); |