mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 00:33:09 +00:00
4bf29827f8
* Quicksave 1 * Header stage complete * Source stage complete * Lint & merge fixes * Includes * Documentation step 1 * FBT: output free size considering BT STACK * Documentation step 2 * py lint * Fix music player plugin * unit test stage 1: string allocator, mem, getters, setters, appends, compare, search. * unit test: string equality * unit test: string replace * unit test: string start_with, end_with * unit test: string trim * unit test: utf-8 * Rename * Revert fw_size changes * Simplify CLI backspace handling * Simplify CLI character insert * Merge fixes * Furi: correct filenaming and spelling * Bt: remove furi string include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
47 lines
894 B
C
47 lines
894 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 <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 managment
|
|
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
|