Applications dependency, initial realization (#159)

This commit is contained in:
DrZlo13
2020-10-05 20:17:34 +10:00
committed by GitHub
parent 44ab04f8d6
commit ec5e5da138
8 changed files with 103 additions and 20 deletions

View File

@@ -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.
*/