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