summaryrefslogtreecommitdiff
path: root/metacontacts
diff options
context:
space:
mode:
Diffstat (limited to 'metacontacts')
-rw-r--r--metacontacts/m_metacontacts.h4
-rw-r--r--metacontacts/meta_main.c33
-rw-r--r--metacontacts/meta_services.c2
-rw-r--r--metacontacts/metacontacts.h2
-rw-r--r--metacontacts/version.h6
5 files changed, 29 insertions, 18 deletions
diff --git a/metacontacts/m_metacontacts.h b/metacontacts/m_metacontacts.h
index 1da12b9..9f348bd 100644
--- a/metacontacts/m_metacontacts.h
+++ b/metacontacts/m_metacontacts.h
@@ -23,6 +23,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef M_METACONTACTS_H__
#define M_METACONTACTS_H__ 1
+#ifndef MIID_METACONTACTS
+#define MIID_METACONTACTS {0xc0325019, 0xc1a7, 0x40f5, { 0x83, 0x65, 0x4f, 0x46, 0xbe, 0x21, 0x86, 0x3e}}
+#endif
+
//get the handle for a contact's parent metacontact
//wParam=(HANDLE)hSubContact
//lParam=0
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
*/
diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c
index 229d3db..033da47 100644
--- a/metacontacts/meta_services.c
+++ b/metacontacts/meta_services.c
@@ -472,7 +472,7 @@ int MetaFilter_RecvMessage(WPARAM wParam,LPARAM lParam)
// should be able to do this, but some protos mess with the memory
if(options.use_proto_recv)
{
- // use the subcontact's protocol 'recv' service to add the db (AIMOSCAR removes HTML here!) if possible
+ // use the subcontact's protocol 'recv' service to add the meta's history (AIMOSCAR removes HTML here!) if possible
char *proto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)ccs->hContact, 0);
if(proto) {
char service[256];
diff --git a/metacontacts/metacontacts.h b/metacontacts/metacontacts.h
index 0e5bfd9..39118da 100644
--- a/metacontacts/metacontacts.h
+++ b/metacontacts/metacontacts.h
@@ -104,7 +104,7 @@ int MenuFunc18(WPARAM wParam, LPARAM lParam);
int MenuFunc19(WPARAM wParam, LPARAM lParam);
extern HINSTANCE hInstance;
-extern PLUGININFO pluginInfo;
+extern PLUGININFOEX pluginInfo;
// contact menu items
extern HANDLE hMenuConvert,
diff --git a/metacontacts/version.h b/metacontacts/version.h
index fba4e6b..c2b000a 100644
--- a/metacontacts/version.h
+++ b/metacontacts/version.h
@@ -3,9 +3,9 @@
// take effect within the version resource)
#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 12
-#define __RELEASE_NUM 3
-#define __BUILD_NUM 1
+#define __MINOR_VERSION 13
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 0
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM