mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-23 06:50:12 +00:00
50 lines
985 B
C
50 lines
985 B
C
#pragma once
|
|
#include "gui/modules/widget_elements/widget_element_i.h"
|
|
#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/widget.h>
|
|
#include <gui/modules/popup.h>
|
|
|
|
#include <storage/storage.h>
|
|
#include <storage/storage_sd_api.h>
|
|
|
|
#include "scenes/storage_DolphinBackup_scene.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum {
|
|
DolphinBackupCustomEventExit,
|
|
DolphinBackupCustomEventConfirm,
|
|
} DolphinBackupCustomEvent;
|
|
|
|
typedef struct {
|
|
// records
|
|
Gui* gui;
|
|
Widget* widget;
|
|
NotificationApp* notifications;
|
|
|
|
// view managment
|
|
SceneManager* scene_manager;
|
|
ViewDispatcher* view_dispatcher;
|
|
|
|
FuriPubSubSubscription* sub;
|
|
|
|
} StorageDolphinBackup;
|
|
|
|
typedef enum {
|
|
StorageDolphinBackupViewWidget,
|
|
} StorageDolphinBackupView;
|
|
|
|
bool storage_DolphinBackup_perform(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|