summaryrefslogtreecommitdiff
path: root/modules/example/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-02 10:04:03 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-02 10:04:03 +0300
commit8ac279eaac75a07ae7d303ed4dc6dd3df98425c1 (patch)
treee2a5b79feecc920b9e7fba82bcdefeea53d198a5 /modules/example/main.cpp
parentf7b3a636db0db493a70e8277fc8a444d3ac7f7e5 (diff)
modified: core/main.cpp
modified: core/plugin.h modified: modules/example/main.cpp
Diffstat (limited to 'modules/example/main.cpp')
-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;
+}