nrf24batch.h 525 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include <gui/gui.h>
  3. #include <gui/view.h>
  4. #include <gui/view_dispatcher.h>
  5. #include <gui/modules/submenu.h>
  6. #include <gui/modules/dialog_ex.h>
  7. #include <toolbox/stream/file_stream.h>
  8. #include <notification/notification_messages.h>
  9. typedef enum {
  10. EventTypeTick,
  11. EventTypeKey,
  12. } EventType;
  13. typedef struct {
  14. EventType type;
  15. InputEvent input;
  16. } PluginEvent;
  17. typedef struct {
  18. FuriMutex* mutex;
  19. } PluginState;
  20. typedef struct {
  21. Gui* gui;
  22. Storage* storage;
  23. NotificationApp* notification;
  24. } nRF24Batch;