From 9c6ffd1f25e7a5b23be5fbc719e29af54d75a5b7 Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 19 Mar 2007 01:28:47 +0000 Subject: added GUID's git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@128 4f64403b-2f21-0410-a795-97e2b3489a10 --- metacontacts/meta_main.c | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'metacontacts/meta_main.c') 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 */ -- cgit v1.2.3