summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-03 09:43:49 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-03 09:43:49 +0300
commit49a77d77a9736f169fc99134765972f8f4b79dcd (patch)
tree36f9b7422511cf01c6a33953533627748fe1ce12 /modules
parent848d632ce9e1bc7ae076c1ea561d997641ae2b87 (diff)
cool, services are working
Diffstat (limited to 'modules')
-rw-r--r--modules/example/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/example/main.cpp b/modules/example/main.cpp
index 85ae212..1df2774 100644
--- a/modules/example/main.cpp
+++ b/modules/example/main.cpp
@@ -38,5 +38,6 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) //basic initialisat
extern "C" int __declspec(dllexport) OnModulesLoaded() //load main code from here, all services from other plugins must be avaible here
{
MessageBoxA(0, "Advanced plugin features needed services from other plugins are working from now", "INFO", MB_OK);
+ CallService("Test", 0, 0); //usage example of service registered in core
return 0;
}