-rw-r--r-- | library/alarmserver.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/library/alarmserver.cpp b/library/alarmserver.cpp index 2ea4025..a75fc7e 100644 --- a/library/alarmserver.cpp +++ b/library/alarmserver.cpp | |||
@@ -431,13 +431,16 @@ void AlarmServer::deleteAlarm (QDateTime when, const QCString& channel, const QC | |||
431 | #endif | 431 | #endif |
432 | 432 | ||
433 | } | 433 | } |
434 | } | 434 | } |
435 | 435 | ||
436 | /*! | 436 | /*! |
437 | Writes the system clock to the hardware clock. | 437 | The implementation depends on the mode of AlarmServer. If the AlarmServer |
438 | uses atd the current system time will be written to the hardware clock. | ||
439 | If the AlarmServer relies on opie-alarm the time will be written once the | ||
440 | device gets suspended. opie-alarm is used by the Zaurus, iPAQs and SIMpad | ||
438 | */ | 441 | */ |
439 | void Global::writeHWClock() | 442 | void Global::writeHWClock() |
440 | { | 443 | { |
441 | #ifdef USE_ATD | 444 | #ifdef USE_ATD |
442 | if ( !triggerAtd( TRUE ) ) { | 445 | if ( !triggerAtd( TRUE ) ) { |
443 | // atd not running? set it ourselves | 446 | // atd not running? set it ourselves |