Flipper Zero Firmware
Loading...
Searching...
No Matches
updater_main.h
1#pragma once
2
3#include <gui/view.h>
4
7typedef struct ViewDispatcher ViewDispatcher;
8typedef void (*UpdaterMainInputCallback)(InputType type, void* context);
9
10View* updater_main_get_view(UpdaterMainView* main_view);
11
12UpdaterMainView* updater_main_alloc(void);
13
14void updater_main_free(UpdaterMainView* main_view);
15
16void updater_main_model_set_state(
17 UpdaterMainView* main_view,
18 const char* message,
19 uint8_t progress,
20 bool failed);
21
22void updater_main_set_storage_pubsub(UpdaterMainView* main_view, FuriPubSubSubscription* sub);
23
24FuriPubSubSubscription* updater_main_get_storage_pubsub(UpdaterMainView* main_view);
25
26void updater_main_set_view_dispatcher(UpdaterMainView* main_view, ViewDispatcher* view_dispatcher);
InputType
Input Types Some of them are physical events and some logical.
Definition input.h:21
Definition pubsub.c:7
Definition updater_main.c:12
Definition view_dispatcher_i.h:16
Definition view_i.h:16
GUI: View API.