Flipper Zero Firmware
Loading...
Searching...
No Matches
desktop_settings.h
1
#pragma once
2
3
#include <stdint.h>
4
5
typedef
enum
{
6
FavoriteAppLeftShort,
7
FavoriteAppLeftLong,
8
FavoriteAppRightShort,
9
FavoriteAppRightLong,
10
FavoriteAppNumber,
11
} FavoriteAppShortcut;
12
13
typedef
enum
{
14
DummyAppLeft,
15
DummyAppRight,
16
DummyAppDown,
17
DummyAppOk,
18
DummyAppNumber,
19
} DummyAppShortcut;
20
21
typedef
struct
{
22
char
name_or_path[128];
23
}
FavoriteApp
;
24
25
typedef
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];
31
}
DesktopSettings
;
32
33
void
desktop_settings_load(
DesktopSettings
* settings);
34
void
desktop_settings_save(
const
DesktopSettings
* settings);
DesktopSettings
Definition
desktop_settings.h:25
FavoriteApp
Definition
desktop_settings.h:21
applications
services
desktop
desktop_settings.h
Generated by
1.12.0