mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-22 02:33:10 +00:00
c97d766e5b
* fix stack size, file listing works * fix scrollbar, update docs * cut long filenames * Dolphin: overhaul unlocking logic, unlocked message added * furi - added common_defines.h, minor macro cleanup; fix scrollbar type conversion * remove door opening animation * adaptive long file name shortening, item icons, invert selection * archive: browser tab, file types (beta); scenes: fix sleep emote * dont trim unknown extensions * fix string_size usage * array container for file list, fixes * better path handling * archive: renaming, adding to favorites worksl scrollbar fix: limit min bar height to 1px to prevent disappearance on large lists Co-authored-by: あく <alleteam@gmail.com>
52 lines
No EOL
1.2 KiB
C
52 lines
No EOL
1.2 KiB
C
#pragma once
|
|
|
|
#include <furi.h>
|
|
#include <assets_icons.h>
|
|
|
|
typedef struct {
|
|
const FuriThreadCallback app;
|
|
const char* name;
|
|
const size_t stack_size;
|
|
const IconName icon;
|
|
} FlipperApplication;
|
|
|
|
typedef void (*FlipperOnStartHook)(void);
|
|
|
|
/* Services list
|
|
* Spawned on startup
|
|
*/
|
|
extern const FlipperApplication FLIPPER_SERVICES[];
|
|
extern const size_t FLIPPER_SERVICES_COUNT;
|
|
|
|
/* Apps list
|
|
* Spawned by app-loader
|
|
*/
|
|
extern const FlipperApplication FLIPPER_APPS[];
|
|
extern const size_t FLIPPER_APPS_COUNT;
|
|
|
|
/* On system start hooks
|
|
* Called by app-loader, after OS initialization complete
|
|
*/
|
|
extern const FlipperOnStartHook FLIPPER_ON_SYSTEM_START[];
|
|
extern const size_t FLIPPER_ON_SYSTEM_START_COUNT;
|
|
|
|
/* Plugins list
|
|
* Spawned by app-loader
|
|
*/
|
|
extern const FlipperApplication FLIPPER_PLUGINS[];
|
|
extern const size_t FLIPPER_PLUGINS_COUNT;
|
|
|
|
/* Debug menu apps
|
|
* Spawned by app-loader
|
|
*/
|
|
extern const FlipperApplication FLIPPER_DEBUG_APPS[];
|
|
extern const size_t FLIPPER_DEBUG_APPS_COUNT;
|
|
|
|
/* Seperate scene app holder
|
|
* Spawned by app-loader
|
|
*/
|
|
extern const FlipperApplication FLIPPER_SCENE;
|
|
extern const FlipperApplication FLIPPER_SCENE_APPS[];
|
|
extern const size_t FLIPPER_SCENE_APPS_COUNT;
|
|
|
|
extern const FlipperApplication FLIPPER_ARCHIVE; |