mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
33 lines
656 B
C
33 lines
656 B
C
#pragma once
|
|
|
|
#include <gui/gui.h>
|
|
#include <gui/view.h>
|
|
#include <gui/view_dispatcher.h>
|
|
#include <gui/modules/submenu.h>
|
|
#include <gui/modules/dialog_ex.h>
|
|
#include <toolbox/stream/file_stream.h>
|
|
#include <notification/notification_messages.h>
|
|
#include <power/power_service/power.h>
|
|
#include <power/power_service/power_i.h>
|
|
|
|
typedef enum {
|
|
EventTypeTick,
|
|
EventTypeKey,
|
|
} EventType;
|
|
|
|
typedef struct {
|
|
EventType type;
|
|
InputEvent input;
|
|
} PluginEvent;
|
|
|
|
typedef struct {
|
|
FuriMutex* mutex;
|
|
} PluginState;
|
|
|
|
typedef struct {
|
|
Gui* gui;
|
|
Storage* storage;
|
|
NotificationApp* notification;
|
|
PluginState* plugin_state;
|
|
} nRF24Batch;
|