dtmf_dolphin_i.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #include "scenes/dtmf_dolphin_scene.h"
  3. #include <gui/gui.h>
  4. #include <gui/view_dispatcher.h>
  5. #include <gui/scene_manager.h>
  6. // #include <gui/modules/submenu.h>
  7. // #include <gui/modules/widget.h>
  8. #include <gui/modules/variable_item_list.h>
  9. #include <notification/notification_messages.h>
  10. #include <input/input.h>
  11. #include "dtmf_dolphin_event.h"
  12. #include "views/dtmf_dolphin_dialer.h"
  13. #define TAG "DTMFDolphin"
  14. enum DTMFDolphinSceneState {
  15. DTMFDolphinSceneStateDialer,
  16. DTMFDolphinSceneStateBluebox,
  17. DTMFDolphinSceneStateRedboxUS,
  18. DTMFDolphinSceneStateRedboxUK,
  19. DTMFDolphinSceneStateRedboxCA,
  20. DTMFDolphinSceneStateMisc,
  21. };
  22. typedef struct {
  23. ViewDispatcher* view_dispatcher;
  24. SceneManager* scene_manager;
  25. VariableItemList* main_menu_list;
  26. DTMFDolphinDialer* dtmf_dolphin_dialer;
  27. Gui* gui;
  28. // ButtonPanel* dialer_button_panel;
  29. // ButtonPanel* bluebox_button_panel;
  30. // ButtonPanel* redbox_button_panel;
  31. NotificationApp* notification;
  32. } DTMFDolphinApp;
  33. typedef enum { DTMFDolphinViewMainMenu, DTMFDolphinViewDialer } DTMFDolphinView;