diff options
author | its your bedtime <23366927+itsyourbedtime@users.noreply.github.com> | 2021-09-28 12:40:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 12:40:39 +0300 |
commit | 1c4e6ec74dded2318c451c50a376129dbc8352e8 (patch) | |
tree | 979994be521c8f060944d89892160530fe0dcc45 /applications/applications.c | |
parent | a8981d317a0f36e6694e8edc891103eecb5fae7a (diff) |
[FL-1824] Dolphin refactoring (#701)
* refactoring p1
* refactoring p2
* cleanups
* locked screen refresh rate fix
* better locked view logic
* seperate dolphin service and desktop app
* Desktop: Favorite app acess (Left key), Settings app
* Desktop settings version, submenu header
* remove unused icon anomation + naming fix
Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/applications.c')
-rwxr-xr-x | applications/applications.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/applications/applications.c b/applications/applications.c index 6c857b20..a33c540d 100755 --- a/applications/applications.c +++ b/applications/applications.c @@ -14,6 +14,7 @@ extern int32_t notification_srv(void* p); extern int32_t power_observer_srv(void* p); extern int32_t power_srv(void* p); extern int32_t storage_srv(void* p); +extern int32_t desktop_srv(void* p); // Apps extern int32_t accessor_app(void* p); @@ -52,6 +53,7 @@ extern void power_cli_init(); extern int32_t notification_settings_app(void* p); extern int32_t storage_settings_app(void* p); extern int32_t bt_settings_app(void* p); +extern int32_t desktop_settings_app(void* p); extern int32_t about_settings_app(void* p); extern int32_t power_settings_app(void* p); @@ -73,6 +75,10 @@ const FlipperApplication FLIPPER_SERVICES[] = { {.app = dolphin_srv, .name = "Dolphin", .stack_size = 1024, .icon = NULL}, #endif +#ifdef SRV_DESKTOP + {.app = desktop_srv, .name = "Desktop", .stack_size = 1024, .icon = NULL}, +#endif + #ifdef SRV_GUI {.app = gui_srv, .name = "Gui", .stack_size = 8192, .icon = NULL}, #endif @@ -282,6 +288,10 @@ const FlipperApplication FLIPPER_SETTINGS_APPS[] = { {.app = power_settings_app, .name = "Power", .stack_size = 1024, .icon = NULL}, #endif +#ifdef APP_DESKTOP + {.app = desktop_settings_app, .name = "Desktop", .stack_size = 1024, .icon = NULL}, +#endif + #ifdef APP_ABOUT {.app = about_settings_app, .name = "About", .stack_size = 1024, .icon = NULL}, #endif |