diff options
Diffstat (limited to 'metacontacts/meta_main.c')
-rw-r--r-- | metacontacts/meta_main.c | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/metacontacts/meta_main.c b/metacontacts/meta_main.c index e66221f..6376e0e 100644 --- a/metacontacts/meta_main.c +++ b/metacontacts/meta_main.c @@ -92,18 +92,18 @@ struct MM_INTERFACE memoryManagerInterface; BOOL os_unicode_enabled = FALSE;
//! Information gathered by Miranda, displayed in the plugin pane of the Option Dialog
-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),
+ __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,
+ { 0x4c4a27cf, 0x5e64, 0x4242, { 0xa3, 0x32, 0xb9, 0x8b, 0x8, 0x24, 0x3e, 0x89 } } // {4C4A27CF-5E64-4242-A332-B98B08243E89}
};
HINSTANCE hInstance; //!< Global reference to the application
@@ -115,11 +115,18 @@ HANDLE metaMainThread; //!< Duplicate of thread handle * It only returns the PLUGININFO structure, without any test on the version
* @param mirandaVersion The version of the application calling this function
*/
-__declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
+static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_METACONTACTS, MIID_LAST};
+__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
+
/** DLL entry point
* Required to store the instance handle
*/
|