summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/example/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/example/main.cpp b/modules/example/main.cpp
index f765cab..7d4b75d 100644
--- a/modules/example/main.cpp
+++ b/modules/example/main.cpp
@@ -31,7 +31,12 @@ extern "C" __declspec(dllexport) PLUGININFO* SetPluginInfo()
extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link; //necessary
- MessageBoxA(0, "Plugin Example Succesful loaded", "INFO", MB_OK);
+ MessageBoxA(0, "Simple plugin initialisation done", "INFO", MB_OK);
return 0; //all ok, retrun 0
}
+extern "C" int __declspec(dllexport) OnModulesLoaded()
+{
+ MessageBoxA(0, "Advanced plugin features needed services from other plugins are working from now", "INFO", MB_OK);
+ return 0;
+}