summaryrefslogtreecommitdiff
path: root/metacontacts/meta_main.c
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-03-19 01:28:47 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-03-19 01:28:47 +0000
commit9c6ffd1f25e7a5b23be5fbc719e29af54d75a5b7 (patch)
tree2608eb1931d906e80790e2e22df4285dc83c8a10 /metacontacts/meta_main.c
parenta788cc5902dda036c81b6e0ee25b742cf62d3a1b (diff)
added GUID's
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@128 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_main.c')
-rw-r--r--metacontacts/meta_main.c33
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
*/