mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-11 21:52:28 +00:00
4d6b170769
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
47 lines
891 B
C
47 lines
891 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
|
|
string_t text_string;
|
|
} StorageSettings;
|
|
|
|
typedef enum {
|
|
StorageSettingsViewSubmenu,
|
|
StorageSettingsViewDialogEx,
|
|
} StorageSettingsView;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|