flipperzero-firmware/applications/irda/irda-app-event.hpp
Albert Kharisov 30ae16c2e1
[FL-1470] Support archive for IRDA (#582)
Co-authored-by: あく <alleteam@gmail.com>
2021-07-16 19:50:18 +03:00

29 lines
497 B
C++

#pragma once
#include <irda.h>
#include <gui/modules/dialog_ex.h>
class IrdaAppEvent {
public:
enum class Type : uint8_t {
Tick,
Exit,
Back,
MenuSelected,
DialogExSelected,
NextScene,
IrdaMessageReceived,
TextEditDone,
PopupTimer,
ButtonPanelPressed,
ButtonPanelPopupBackPressed,
};
union {
int32_t menu_index;
DialogExResult dialog_ex_result;
} payload;
Type type;
};