c583cce5bd
* Remove excess headers * Add ButtonPanel * Add Popup * Move FileReader to standalone object * Universal remote (part 1) * Universal remote (part 2) * Global rename tranciever/file_parser * Compile assets * syntax fix * English: rename tranceiver to transceiver. Co-authored-by: あく <alleteam@gmail.com>
28 lines
483 B
C++
28 lines
483 B
C++
#pragma once
|
|
#include <irda.h>
|
|
#include <gui/modules/dialog_ex.h>
|
|
|
|
class IrdaAppEvent {
|
|
public:
|
|
enum class Type : uint8_t {
|
|
Tick,
|
|
Back,
|
|
MenuSelected,
|
|
DialogExSelected,
|
|
NextScene,
|
|
IrdaMessageReceived,
|
|
TextEditDone,
|
|
PopupTimer,
|
|
ButtonPanelPressed,
|
|
ButtonPanelPopupBackPressed,
|
|
};
|
|
|
|
union {
|
|
int32_t menu_index;
|
|
DialogExResult dialog_ex_result;
|
|
} payload;
|
|
|
|
Type type;
|
|
};
|
|
|