diff options
Diffstat (limited to 'MirandaPlugin/Templates/1033/base.cpp')
-rw-r--r-- | MirandaPlugin/Templates/1033/base.cpp | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/MirandaPlugin/Templates/1033/base.cpp b/MirandaPlugin/Templates/1033/base.cpp index d0cb971..a36cad8 100644 --- a/MirandaPlugin/Templates/1033/base.cpp +++ b/MirandaPlugin/Templates/1033/base.cpp @@ -21,18 +21,20 @@ HINSTANCE hInst;
PLUGINLINK *pluginLink;
-PLUGININFO pluginInfo={
- sizeof(PLUGININFO),
- //META_PROTO,
- __PLUGIN_NAME, // altered here and on file listing, so as not to match original
- PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
- __DESC,
- __AUTHOR,
- __AUTHOREMAIL,
- __COPYRIGHT,
- __AUTHORWEB,
- 0,
- 0
+PLUGININFOEX pluginInfo={
+ sizeof(PLUGININFOEX),
+ //META_PROTO,
+ __PLUGIN_NAME, // altered here and on file listing, so as not to match original
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESC,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
+ 0,
+ 0,
+ // TODO: generate your own GUID!!
+ { 0x3899640f, 0xbdc9, 0x4f39, { 0x91, 0x28, 0x5, 0x77, 0xa6, 0x9b, 0xc4, 0xe2 } } // {3899640F-BDC9-4f39-9128-0577A69BC4E2}
};
@@ -41,10 +43,17 @@ extern "C" BOOL APIENTRY DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRe return TRUE;
}
-extern "C" __declspec (dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) {
+extern "C" __declspec (dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) {
return &pluginInfo;
}
+// TODO: add any interfaces you implement to this list
+static const MUUID interfaces[] = {MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
[!if USE_NETLIB]
InitNetlib();
|