diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-03 09:43:49 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-03 09:43:49 +0300 |
commit | 49a77d77a9736f169fc99134765972f8f4b79dcd (patch) | |
tree | 36f9b7422511cf01c6a33953533627748fe1ce12 /core/main.cpp | |
parent | 848d632ce9e1bc7ae076c1ea561d997641ae2b87 (diff) |
cool, services are working
Diffstat (limited to 'core/main.cpp')
-rw-r--r-- | core/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<plugin*>::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; |