2022-10-17 19:40:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "scenes/dtmf_dolphin_scene.h"
|
|
|
|
|
|
|
|
#include <gui/gui.h>
|
|
|
|
#include <gui/view_dispatcher.h>
|
|
|
|
#include <gui/scene_manager.h>
|
|
|
|
// #include <gui/modules/submenu.h>
|
|
|
|
// #include <gui/modules/widget.h>
|
|
|
|
#include <gui/modules/variable_item_list.h>
|
|
|
|
#include <notification/notification_messages.h>
|
|
|
|
#include <input/input.h>
|
|
|
|
|
|
|
|
#include "dtmf_dolphin_event.h"
|
|
|
|
|
|
|
|
#include "views/dtmf_dolphin_dialer.h"
|
|
|
|
|
|
|
|
#define TAG "DTMFDolphin"
|
|
|
|
|
|
|
|
enum DTMFDolphinSceneState {
|
|
|
|
DTMFDolphinSceneStateDialer,
|
|
|
|
DTMFDolphinSceneStateBluebox,
|
|
|
|
DTMFDolphinSceneStateRedboxUS,
|
|
|
|
DTMFDolphinSceneStateRedboxUK,
|
2022-11-17 19:43:04 +00:00
|
|
|
DTMFDolphinSceneStateRedboxCA,
|
2022-10-17 19:40:14 +00:00
|
|
|
DTMFDolphinSceneStateMisc,
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
ViewDispatcher* view_dispatcher;
|
|
|
|
SceneManager* scene_manager;
|
|
|
|
VariableItemList* main_menu_list;
|
|
|
|
DTMFDolphinDialer* dtmf_dolphin_dialer;
|
|
|
|
|
|
|
|
Gui* gui;
|
|
|
|
// ButtonPanel* dialer_button_panel;
|
|
|
|
// ButtonPanel* bluebox_button_panel;
|
|
|
|
// ButtonPanel* redbox_button_panel;
|
|
|
|
NotificationApp* notification;
|
|
|
|
} DTMFDolphinApp;
|
|
|
|
|
|
|
|
typedef enum { DTMFDolphinViewMainMenu, DTMFDolphinViewDialer } DTMFDolphinView;
|