unleashed-firmware/applications/plugins/dtmf_dolphin/dtmf_dolphin_i.h
MX 7e8bf03b25
Fix DTMF Dolphin
Add forgotten scene and menu item
@litui check this commit
2022-11-17 22:43:04 +03:00

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;