mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 19:53:08 +00:00
22 lines
576 B
C++
22 lines
576 B
C++
|
#include "hid_analyzer_app.h"
|
||
|
#include "scene/hid_analyzer_app_scene_read.h"
|
||
|
#include "scene/hid_analyzer_app_scene_read_success.h"
|
||
|
|
||
|
HIDApp::HIDApp()
|
||
|
: scene_controller{this}
|
||
|
, notification{"notification"}
|
||
|
, storage{"storage"}
|
||
|
, dialogs{"dialogs"}
|
||
|
, text_store(40) {
|
||
|
}
|
||
|
|
||
|
HIDApp::~HIDApp() {
|
||
|
}
|
||
|
|
||
|
void HIDApp::run(void* _args) {
|
||
|
UNUSED(_args);
|
||
|
|
||
|
scene_controller.add_scene(SceneType::Read, new HIDAppSceneRead());
|
||
|
scene_controller.add_scene(SceneType::ReadSuccess, new HIDAppSceneReadSuccess());
|
||
|
scene_controller.process(100, SceneType::Read);
|
||
|
}
|