#ifndef EMAN_H #define EMAN_H #include #include #include #include struct EventInfo { std::string eventName; }; class EventManager { private: std::map>> callBackList; public: void eventRegister(std::string eventName, std::function callBack); void eventDispatch(std::string eventName); }; #endif // EMAN_H