refactor app code (#93)

This commit is contained in:
Ken Van Hoeylandt
2024-11-26 22:17:01 +01:00
committed by GitHub
parent a312bd5527
commit d7b151ab88
40 changed files with 367 additions and 439 deletions
+5 -5
View File
@@ -24,19 +24,19 @@ typedef enum {
} LoaderEventType;
typedef struct {
app::App* app;
app::App& app;
} LoaderEventAppStarted;
typedef struct {
app::App* app;
app::App& app;
} LoaderEventAppShowing;
typedef struct {
app::App* app;
app::App& app;
} LoaderEventAppHiding;
typedef struct {
const app::Manifest* manifest;
const app::Manifest& manifest;
} LoaderEventAppStopped;
typedef struct {
@@ -63,7 +63,7 @@ LoaderStatus start_app(const std::string& id, bool blocking, const Bundle& bundl
*/
void stop_app();
app::App _Nullable get_current_app();
app::App* _Nullable get_current_app();
/**
* @brief PubSub for LoaderEvent