mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 10:13:10 +00:00
b9a766d909
* Added support for running applications from SD card (FAPs - Flipper Application Packages) * Added plugin_dist target for fbt to build FAPs * All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default * Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them * Added debugging support for FAPs with fbt debug & VSCode * Added public firmware API with automated versioning Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: SG <who.just.the.doctor@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
26 lines
833 B
C
26 lines
833 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
typedef struct UpdaterMainView UpdaterMainView;
|
|
typedef struct FuriPubSubSubscription FuriPubSubSubscription;
|
|
typedef struct ViewDispatcher ViewDispatcher;
|
|
typedef void (*UpdaterMainInputCallback)(InputType type, void* context);
|
|
|
|
View* updater_main_get_view(UpdaterMainView* main_view);
|
|
|
|
UpdaterMainView* updater_main_alloc();
|
|
|
|
void updater_main_free(UpdaterMainView* main_view);
|
|
|
|
void updater_main_model_set_state(
|
|
UpdaterMainView* main_view,
|
|
const char* message,
|
|
uint8_t progress,
|
|
bool failed);
|
|
|
|
void updater_main_set_storage_pubsub(UpdaterMainView* main_view, FuriPubSubSubscription* sub);
|
|
|
|
FuriPubSubSubscription* updater_main_get_storage_pubsub(UpdaterMainView* main_view);
|
|
|
|
void updater_main_set_view_dispatcher(UpdaterMainView* main_view, ViewDispatcher* view_dispatcher);
|