#pragma once #include #include #include "uicontroler/tjc/tjc_base_type.h" #include "appevent_type.hpp" /** * * @注意 * 下面这个结构不易定义过大,否则容易造成栈溢出 */ // typedef struct { // } AppEvent; class AppEvent { public: AppEventType_t type; union val { uint32_t placeholder; char bleName[20]; char stateDisplayInfo[30]; UIEvent uiEvent; int32_t pageChangeTo; } d; std::function onfnc; };