This commit is contained in:
2026-09-12 03:40:10 +02:00
parent 029ceee69a
commit 8ac465229c
20 changed files with 220 additions and 422 deletions

View File

@@ -28,18 +28,15 @@ typedef enum {
APP_STATE_REGISTRATION,
} app_state_t;
const char *app_state_name(app_state_t state);
/* Life counter state */
void app_set_life(int32_t life);
int32_t app_get_life(void);
void app_set_life_preset(int32_t preset);
int32_t app_get_life_preset(void);
/* Which "screen" is active - CARD_VIEW vs LIFE_COUNTER. */
/* Current screen view */
void app_set_view(app_state_t view);
app_state_t app_get_view(void);
void app_enter_keyed_view(app_state_t view);
#ifdef __cplusplus
}