From 49a77d77a9736f169fc99134765972f8f4b79dcd Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 3 Aug 2010 09:43:49 +0300 Subject: cool, services are working --- core/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/main.cpp') diff --git a/core/main.cpp b/core/main.cpp index db901c3..017ddcf 100644 --- a/core/main.cpp +++ b/core/main.cpp @@ -30,15 +30,14 @@ int main(int argc, char *argv[]) { (*p)->getFuncs().load(&link); } + CreateServiceFunction("GetPluginInfoList", (SERVICE)GetPluginInfoList); + CreateServiceFunction("Test", (SERVICE)Test); for(list::iterator p = plugins.begin(); p != plugins.end(); p++) { if((*p)->getFuncs().loaded) (*p)->getFuncs().loaded(); } - CreateServiceFunction("GetPluginInfoList", (SERVICE)GetPluginInfoList); - CreateServiceFunction("Test", (SERVICE)Test); CallService("GetPluginInfoList", 0, 0); - CallService("Test", 0, 0); for(;;) Sleep(1000); return 0; -- cgit v1.2.3