[FL-2284] IR: Show universal remote loading (#1004)
* [FL-2131] IR: Show universal remote loading * Remove unused hal rtc. Gui: cleanup loading module. Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include <gui/view.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct IrdaProgressView IrdaProgressView;
|
||||
|
||||
typedef void (*IrdaProgressViewBackCallback)(void*);
|
||||
|
||||
IrdaProgressView* irda_progress_view_alloc();
|
||||
void irda_progress_view_free(IrdaProgressView* progress);
|
||||
View* irda_progress_view_get_view(IrdaProgressView* progress);
|
||||
|
||||
bool irda_progress_view_increase_progress(IrdaProgressView* progress);
|
||||
void irda_progress_view_set_progress_total(IrdaProgressView* progress, uint16_t progress_max);
|
||||
void irda_progress_view_set_back_callback(
|
||||
IrdaProgressView* instance,
|
||||
IrdaProgressViewBackCallback callback,
|
||||
void* context);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user