mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 09:13:11 +00:00
a7d1ec03e8
* Loader: menu part * Settings: remove unused loader api * Desktop: get loader from record_open * CLI: remove unneeded loader api * gitignore: ignore .old files * Loader: now really a service * Loader: working service prototype * Loader: cli, system start hooks * CI/CD: make happy * Loader: autorun * Loader: lock and unlock * Loader: rearrange code * Gui, module menu: fix memleak * Updater test: add timeout * added update timeouts and max run duration * Github: revert updater test workflow changes * Loader: less missleading message in info cli command Co-authored-by: doomwastaken <k.volkov@flipperdevices.com> Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
30 lines
No EOL
566 B
C
30 lines
No EOL
566 B
C
#pragma once
|
|
#include <furi.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct LoaderMenu LoaderMenu;
|
|
|
|
LoaderMenu* loader_menu_alloc();
|
|
|
|
void loader_menu_free(LoaderMenu* loader_menu);
|
|
|
|
void loader_menu_start(LoaderMenu* loader_menu);
|
|
|
|
void loader_menu_stop(LoaderMenu* loader_menu);
|
|
|
|
void loader_menu_set_closed_callback(
|
|
LoaderMenu* loader_menu,
|
|
void (*callback)(void*),
|
|
void* context);
|
|
|
|
void loader_menu_set_click_callback(
|
|
LoaderMenu* loader_menu,
|
|
void (*callback)(const char*, void*),
|
|
void* context);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |