Flipper Zero Firmware
Loading...
Searching...
No Matches
event_loop_link_i.h
1#pragma once
2
3#include "event_loop.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
10
11/* Link between Event Loop */
12
13typedef struct {
14 FuriEventLoopItem* item_in;
15 FuriEventLoopItem* item_out;
17
18void furi_event_loop_link_notify(FuriEventLoopLink* instance, FuriEventLoopEvent event);
19
20/* Contract between event loop and an object */
21
22typedef FuriEventLoopLink* (*FuriEventLoopContractGetLink)(FuriEventLoopObject* object);
23
24typedef uint32_t (
25 *FuriEventLoopContractGetLevel)(FuriEventLoopObject* object, FuriEventLoopEvent event);
26
27typedef struct {
28 const FuriEventLoopContractGetLink get_link;
29 const FuriEventLoopContractGetLevel get_level;
31
32#ifdef __cplusplus
33}
34#endif
Furi Event Loop.
FuriEventLoopEvent
Enumeration of event types, flags and masks.
Definition event_loop.h:32
Definition event_loop_link_i.h:27
Definition event_loop_i.h:14