diff --git a/MiniEngine.h b/MiniEngine.h index a513749..0fd8e9a 100644 --- a/MiniEngine.h +++ b/MiniEngine.h @@ -7,8 +7,6 @@ #include #include -#include -#include #define _DECL_DEPRECATED __declspec(deprecated) #define _DECL_DEPRECATED_MSG(InfoString) __declspec(deprecated(InfoString)) @@ -351,9 +349,8 @@ namespace MiniEngine namespace EventHandle { - using DispatcherType = std::function; - int RegistDispatcher(DispatcherType func); + int RegistDispatcher(int EventType,DispatcherType func); int UnregistDispatcher(int callbackid); using UpdaterType = std::function; @@ -370,7 +367,11 @@ namespace MiniEngine }/// End of namespace MiniEngine +std::string UTF8ToGBK(std::string UTF8String); +std::string GBKToUTF8(std::string GBKString); /// Your Program Should Start Here int AppMain(); +/// MiniEngine Provides main +int main(int argc,char* argv[]);