summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-13 22:18:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-13 22:18:51 +0000
commitfc5bf903988ed773e8fc0199fb5a427ced6b01d9 (patch)
treee5b1fd80d870ef9692cbb0796581a60883628ace /include
parenta04043571f2d04ff9d117f921115f97f7bf42870 (diff)
roadmap milestone #1
git-svn-id: http://svn.miranda-ng.org/main/trunk@402 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/newpluginapi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h
index d1dcfd8eeb..edf35b99b2 100644
--- a/include/newpluginapi.h
+++ b/include/newpluginapi.h
@@ -135,6 +135,18 @@ typedef struct {
MUUID uuid; // Not required until 0.8.
} PLUGININFOEX;
+//Miranda/System/LoadModule event
+//called when a plugin is being loaded dynamically
+//wParam=PLUGININFOEX*
+//lParam=0
+#define ME_SYSTEM_MODULELOAD "Miranda/System/LoadModule"
+
+//Miranda/System/UnloadModule event
+//called when a plugin is being unloaded dynamically
+//wParam=PLUGININFOEX*
+//lParam=0
+#define ME_SYSTEM_MODULEUNLOAD "Miranda/System/UnloadModule"
+
#ifndef MODULES_H_
typedef int (*MIRANDAHOOK)(WPARAM,LPARAM);
typedef int (*MIRANDAHOOKPARAM)(WPARAM,LPARAM,LPARAM);