dtmf_dolphin_i.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 "dtmf_dolphin_player.h"
  13. #include "views/dtmf_dolphin_dialer.h"
  14. #include "views/dtmf_dolphin_bluebox.h"
  15. #define TAG "DTMFDolphin"
  16. enum DTMFDolphinItem {
  17. DTMFDolphinItemDialer,
  18. DTMFDolphinItemBluebox,
  19. DTMFDolphinItemRedbox,
  20. DTMFDolphinItemPlay
  21. };
  22. typedef struct {
  23. ViewDispatcher* view_dispatcher;
  24. SceneManager* scene_manager;
  25. VariableItemList* main_menu_list;
  26. DTMFDolphinDialer* dtmf_dolphin_dialer;
  27. DTMFDolphinBluebox* dtmf_dolphin_bluebox;
  28. DTMFDolphinPlayer player;
  29. Widget* dtmf_dolphin_play;
  30. Gui* gui;
  31. // ButtonPanel* dialer_button_panel;
  32. // ButtonPanel* bluebox_button_panel;
  33. // ButtonPanel* redbox_button_panel;
  34. NotificationApp* notification;
  35. } DTMFDolphinApp;
  36. typedef enum {
  37. DTMFDolphinViewMainMenu,
  38. DTMFDolphinViewDialer,
  39. DTMFDolphinViewBluebox,
  40. DTMFDolphinViewRedbox,
  41. DTMFDolphinViewPlay,
  42. } DTMFDolphinView;