From c3d477b818441b84992f472e4c82651cc16b7268 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sat, 25 Feb 2017 22:40:48 +0800 Subject: [PATCH] Update MiniEngine.h --- MiniEngine.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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[]);