Applications dependency, initial realization (#159)
This commit is contained in:
12
core/furi.h
12
core/furi.h
@@ -56,6 +56,8 @@ typedef struct {
|
||||
TaskHandle_t handler;
|
||||
uint8_t records_count; ///< count of records which task open
|
||||
FuriRecord* records[MAX_TASK_RECORDS]; ///< list of records which task open
|
||||
|
||||
bool ready;
|
||||
} FuriApp;
|
||||
|
||||
/*!
|
||||
@@ -82,6 +84,16 @@ application registry.
|
||||
*/
|
||||
void furiac_exit(void* param);
|
||||
|
||||
/*!
|
||||
Mark application as prepared and ready to perform actions
|
||||
*/
|
||||
void furiac_ready();
|
||||
|
||||
/*
|
||||
Wait for the libraries we depend on
|
||||
*/
|
||||
void furiac_wait_libs(const char* libs);
|
||||
|
||||
/*!
|
||||
Stop specified app without returning to prev application.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user