Flipper Zero Firmware
Loading...
Searching...
No Matches
storage_move_to_sd_scene.h
1#pragma once
2
3#include <gui/scene_manager.h>
4
5// Generate scene id and total number
6#define ADD_SCENE(prefix, name, id) StorageMoveToSd##id,
7typedef enum {
8#include "storage_move_to_sd_scene_config.h"
9 StorageMoveToSdSceneNum,
10} StorageMoveToSdScene;
11#undef ADD_SCENE
12
13extern const SceneManagerHandlers storage_move_to_sd_scene_handlers;
14
15// Generate scene on_enter handlers declaration
16#define ADD_SCENE(prefix, name, id) void prefix##_scene_##name##_on_enter(void*);
17#include "storage_move_to_sd_scene_config.h"
18#undef ADD_SCENE
19
20// Generate scene on_event handlers declaration
21#define ADD_SCENE(prefix, name, id) \
22 bool prefix##_scene_##name##_on_event(void* context, SceneManagerEvent event);
23#include "storage_move_to_sd_scene_config.h"
24#undef ADD_SCENE
25
26// Generate scene on_exit handlers declaration
27#define ADD_SCENE(prefix, name, id) void prefix##_scene_##name##_on_exit(void* context);
28#include "storage_move_to_sd_scene_config.h"
29#undef ADD_SCENE
GUI: SceneManager API.
Scene Manager configuration structure Contains array of Scene handlers.
Definition scene_manager.h:42