nrf24batch.h 656 B

1234567891011121314151617181920212223242526272829303132
  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. #include <power/power_service/power.h>
  10. #include <power/power_service/power_i.h>
  11. typedef enum {
  12. EventTypeTick,
  13. EventTypeKey,
  14. } EventType;
  15. typedef struct {
  16. EventType type;
  17. InputEvent input;
  18. } PluginEvent;
  19. typedef struct {
  20. FuriMutex* mutex;
  21. } PluginState;
  22. typedef struct {
  23. Gui* gui;
  24. Storage* storage;
  25. NotificationApp* notification;
  26. PluginState* plugin_state;
  27. } nRF24Batch;