Flipper Zero Firmware
Loading...
Searching...
No Matches
desktop_settings.h
1#pragma once
2
3#include <stdint.h>
4
5typedef enum {
6 FavoriteAppLeftShort,
7 FavoriteAppLeftLong,
8 FavoriteAppRightShort,
9 FavoriteAppRightLong,
10 FavoriteAppNumber,
11} FavoriteAppShortcut;
12
13typedef enum {
14 DummyAppLeft,
15 DummyAppRight,
16 DummyAppDown,
17 DummyAppOk,
18 DummyAppNumber,
19} DummyAppShortcut;
20
21typedef struct {
22 char name_or_path[128];
24
25typedef struct {
26 uint32_t auto_lock_delay_ms;
27 uint8_t dummy_mode;
28 uint8_t display_clock;
29 FavoriteApp favorite_apps[FavoriteAppNumber];
30 FavoriteApp dummy_apps[DummyAppNumber];
32
33void desktop_settings_load(DesktopSettings* settings);
34void desktop_settings_save(const DesktopSettings* settings);
Definition desktop_settings.h:25
Definition desktop_settings.h:21