blob: f7db2d0c7a2366e4e2fc65c3f276d1c9c3290a24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include <furi.h>
#include <gui/gui.h>
#include "storage-glue.h"
#include "storage-sd-api.h"
#include "filesystem-api-internal.h"
#ifdef __cplusplus
extern "C" {
#endif
#define STORAGE_COUNT (ST_INT + 1)
typedef struct {
ViewPort* view_port;
bool enabled;
} StorageSDGui;
struct Storage {
osMessageQueueId_t message_queue;
StorageData storage[STORAGE_COUNT];
StorageStatus prev_ext_storage_status;
StorageSDGui sd_gui;
FuriPubSub* pubsub;
};
#ifdef __cplusplus
}
#endif
|