mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
#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,
|
|
DTMFDolphinSceneStateRedboxCA,
|
|
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;
|