Flipper Zero Firmware
Loading...
Searching...
No Matches
storage_i.h
1#pragma once
2#include <furi.h>
3#include <furi_hal.h>
4#include <gui/gui.h>
5#include "storage_glue.h"
6#include "storage_sd_api.h"
7#include "filesystem_api_internal.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#define STORAGE_COUNT (ST_INT + 1)
14
15#define APPS_DATA_PATH EXT_PATH("apps_data")
16#define APPS_ASSETS_PATH EXT_PATH("apps_assets")
17
18typedef struct {
19 ViewPort* view_port;
20 bool enabled;
22
23struct Storage {
24 FuriMessageQueue* message_queue;
25 StorageData storage[STORAGE_COUNT];
26 StorageSDGui sd_gui;
27 FuriPubSub* pubsub;
28};
29
30#ifdef __cplusplus
31}
32#endif
Furi HAL API.
GUI: main API.
Definition message_queue.c:14
Definition pubsub.c:14
Definition storage_i.h:23
Definition storage_i.h:18
Definition view_port_i.h:11