mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-22 10:43:11 +00:00
e121e6a287
* Fix for spelling * Review iteration Co-authored-by: あく <alleteam@gmail.com>
48 lines
921 B
C
48 lines
921 B
C
#pragma once
|
|
#include <furi.h>
|
|
#include <gui/gui.h>
|
|
#include <gui/view.h>
|
|
#include <gui/view_dispatcher.h>
|
|
#include <gui/scene_manager.h>
|
|
#include <assets_icons.h>
|
|
#include <notification/notification_messages.h>
|
|
|
|
#include <gui/modules/submenu.h>
|
|
#include <gui/modules/dialog_ex.h>
|
|
#include <gui/modules/popup.h>
|
|
|
|
#include <storage/storage.h>
|
|
#include <storage/storage_sd_api.h>
|
|
|
|
#include "scenes/storage_settings_scene.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
// records
|
|
Gui* gui;
|
|
NotificationApp* notification;
|
|
Storage* fs_api;
|
|
|
|
// view management
|
|
SceneManager* scene_manager;
|
|
ViewDispatcher* view_dispatcher;
|
|
|
|
// view modules
|
|
Submenu* submenu;
|
|
DialogEx* dialog_ex;
|
|
|
|
// text
|
|
FuriString* text_string;
|
|
} StorageSettings;
|
|
|
|
typedef enum {
|
|
StorageSettingsViewSubmenu,
|
|
StorageSettingsViewDialogEx,
|
|
} StorageSettingsView;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|