13#include <front_display/front_display.h>
14#include <busy_timer/busy_timer.h>
18#include "busy_theme.h"
19#include "busy_presets.h"
21#include "storage_macros.h"
23#include "helpers/run_later.h"
24#include "scenes/busy_scenes.h"
31#define TOTAL_TIME_LOW_THR_MN (15)
40 BusyCustomEventIndexMax = 0x80,
41 BusyCustomEventTimerTick,
42 BusyCustomEventTimerModeChanged,
43 BusyCustomEventTimerStateChanged,
44 BusyCustomEventTimerIntervalEnded,
45 BusyCustomEventTimerPaused,
46 BusyCustomEventTimerSkip,
47 BusyCustomEventTimeIncrement,
48 BusyCustomEventTimeDecrement,
49 BusyCustomEventStartPressed,
50 BusyCustomEventStartReleased,
51 BusyCustomEventStartShortPressed,
52 BusyCustomEventOkShortPressed,
53 BusyCustomEventReturnToStart,
54 BusyCustomEventAnimationCompleted,
55 BusyCustomEventAppConfigChanged,
60 BusyApiMessageTypeSetConfig,
61 BusyApiMessageTypeShowTimer,
62 BusyApiMessageTypeRequestExit,
63 BusyApiMessageTypeMax,
75 BusyApiMessageType type;
82 FuriEventLoop* event_loop;
83 FuriMessageQueue* input_queue;
84 FuriMessageQueue* event_queue;
85 FuriMessageQueue* api_queue;
103 BusyAppRunMode run_mode;
105 BusyAppPresetId preset_id;
106 bool show_timer_requested;
111void busy_send_custom_event(
BusyApp* instance, uint32_t custom_event);
115void busy_send_custom_event_nonblocking(
BusyApp* instance, uint32_t custom_event);
117void busy_prepare_transition(
BusyApp* instance, BusyTransitionType type);
119void busy_start_transition(
BusyApp* instance);
139void busy_set_priority(
BusyApp* instance,
bool active);
141void busy_set_front_display_blanking(
BusyApp* instance,
bool is_blanked);
143void busy_push_location(
BusyApp* instance,
const char* location_name);
145void busy_pop_location(
BusyApp* instance);
147bool busy_return_to_start_scene(
BusyApp* instance);
149void busy_exit(
BusyApp* instance);
159BusyTimerProfileId busy_get_profile_id(
const BusyApp* instance);
163void busy_api_abort_pending_messages(
BusyApp* instance);
APIs for playing audio (e.g.
BUSY application – frontend for the BusyTimer service.
BusyStatus
Enumeration of possible statuses returned by the BusyApp APIs.
Definition busy.h:51
A widget that arranges its elements in flexible rows or columns.
struct FlexLayout FlexLayout
FlexLayout opaque structure.
Definition flex_layout.h:16
A widget that shows the front display mirrored content.
BusyApp configuration structure.
Definition busy_common.h:22
Definition busy_presets.h:50
Definition busy_theme.c:14
Definition busy_timer_i.h:110
Definition busy_timer.h:86
Definition front_display.c:31
Definition mirror_card.c:9
Definition scene_manager.c:13
Definition transition_overlay.c:16
Definition updater_i.h:68
A widget that shows the current timer status.
A widget that shows the remaining time.
Can be used only on the front display.
Firmware update system interface.