Files
Momentum-Firmware/applications/external/esubghz_chat/bgloader_api.h
2023-11-12 11:11:46 +00:00

22 lines
486 B
C

#include <furi.h>
#include <flipper_application/flipper_application.h>
#define APP_BASE_ARGS "run_in_background"
typedef enum {
BGLoaderMessageType_AppReattached,
BGLoaderMessageType_LoaderBackground,
BGLoaderMessageType_LoaderExit,
} BGLoaderMessageType;
typedef struct {
BGLoaderMessageType type;
} BGLoaderMessage;
typedef struct {
FlipperApplication* fap;
FuriThread* thread;
FuriMessageQueue* to_app;
FuriMessageQueue* to_loader;
} BGLoaderApp;