|
Home2L - C/C++ API v1.4-2-g83f4c (2025-08-23)
Smart Tools for a Private Home
|
#include "ui_base.H"
Go to the source code of this file.
Functions | |
Init/done ... | |
| void | AlarmClockInit () |
| Initialize the alarm clock. | |
| void | AlarmClockDone () |
| Shutdown the alarm clock. | |
Direct actions ... | |
| void | AlarmClockEnableDisable (bool enable) |
| Enable/disable alarm clock as a whole. | |
| void | AlarmClockOff () |
| "Off" button of the alarm clock => go to standby state. | |
| void | AlarmClockSnooze () |
| "Snooze" button of the alarm clock. | |
High-level actions / UI integration ... | |
| void | AlarmClockSetButton (class CButton *btn) |
| Define a main button. Its surface is set to indicate the alarm state. | |
| void | AlarmClockHandlePushed (bool enableOff, bool longPush) |
| Handle a push on (one of) the alarm clock button(s) in the interface. | |
Setup dialog ... | |
| void | AlarmClockRunSetDialog () |
| Run the setup screen to edit alarm times. | |
Alarm clock state ... | |
| enum | TAlarmClockState { acsDisabled = 0 , acsStandby , acsSnooze , acsAlarmPreRinging , acsAlarmMusicTrying , acsAlarmMusicOk , acsAlarmRinging } |
| TAlarmClockState | AlarmClockGetState () |
| Get the current alarm clock state. | |