From 8ac279eaac75a07ae7d303ed4dc6dd3df98425c1 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 2 Aug 2010 10:04:03 +0300 Subject: modified: core/main.cpp modified: core/plugin.h modified: modules/example/main.cpp --- modules/example/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/example/main.cpp') 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; +} -- cgit v1.2.3