BSB Developer Docs
Loading...
Searching...
No Matches
busy.h
Go to the documentation of this file.
1
5#pragma once
6
7#include "busy_common.h"
8
16#define RECORD_BUSY_APP "busy_app"
17
31#define BUSY_APP_TIMER_MODE "timer"
32
42#define BUSY_APP_CUSTOM_MODE "custom"
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
56
60typedef struct BusyApp BusyApp;
61
73BusyStatus busy_set_config(BusyApp* instance, const BusyAppConfig* config);
74
85
101
102#ifdef __cplusplus
103}
104#endif
BusyStatus busy_set_config(BusyApp *instance, const BusyAppConfig *config)
Set application configuration (e.g.
Definition busy_api.c:66
BusyStatus busy_request_exit(BusyApp *instance)
Request the running app to exit.
Definition busy_api.c:88
BusyStatus
Enumeration of possible statuses returned by the BusyApp APIs.
Definition busy.h:51
@ BusyStatusTimeout
Command was taking too long to execute.
Definition busy.h:54
@ BusyStatusAborted
Command was aborted (e.g.
Definition busy.h:53
@ BusyStatusOk
Command executed normally, no error occurred.
Definition busy.h:52
BusyStatus busy_show_timer(BusyApp *instance)
Force the running app to transition to the timer scene.
Definition busy_api.c:78
Common BUSY application defines and variables.
BusyApp configuration structure.
Definition busy_common.h:22
Definition busy_i.h:81