summaryrefslogtreecommitdiff
path: root/attache
diff options
context:
space:
mode:
Diffstat (limited to 'attache')
-rw-r--r--attache/MiniDump.cpp16
-rw-r--r--attache/common.h4
-rw-r--r--attache/version.h6
3 files changed, 19 insertions, 7 deletions
diff --git a/attache/MiniDump.cpp b/attache/MiniDump.cpp
index e565c10..cae9993 100644
--- a/attache/MiniDump.cpp
+++ b/attache/MiniDump.cpp
@@ -24,8 +24,8 @@ extern "C" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPV
return TRUE;
}
-PLUGININFO pluginInfo={
- sizeof(PLUGININFO),
+PLUGININFOEX pluginInfo={
+ sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
__DESC,
@@ -34,14 +34,22 @@ PLUGININFO pluginInfo={
__COPYRIGHT,
__AUTHORWEB,
0, //not transient
- 0 //doesn't replace anything built-in
+ 0, //doesn't replace anything built-in
+ { 0xe3ab632a, 0x693c, 0x41c2, { 0xa7, 0x55, 0xaa, 0xb7, 0xde, 0x4f, 0x1f, 0x7f } } // {E3AB632A-693C-41c2-A755-AAB7DE4F1F7F}
};
-extern "C" MINIDUMP_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+extern "C" MINIDUMP_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
+static const MUUID interfaces[] = {MIID_ATTACHE, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
+
void InitNetlib() {
NETLIBUSER nl_user = {0};
nl_user.cbSize = sizeof(nl_user);
diff --git a/attache/common.h b/attache/common.h
index d3b2d91..c2250a0 100644
--- a/attache/common.h
+++ b/attache/common.h
@@ -29,4 +29,8 @@ extern DWORD mirandaVersion;
#define DEFAULT_DUMP_PATH "\\Attache\\dumps"
+#ifndef MIID_ATTACHE
+#define MIID_ATTACHE {0x21c8ec80, 0x46d8, 0x4ca9, { 0x94, 0xb, 0xaa, 0xe0, 0x8f, 0xb2, 0x52, 0xba}}
+#endif
+
#endif
diff --git a/attache/version.h b/attache/version.h
index c47b036..b5b0e40 100644
--- a/attache/version.h
+++ b/attache/version.h
@@ -4,9 +4,9 @@
#define MODULE "Attache"
#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 1
-#define __RELEASE_NUM 3
-#define __BUILD_NUM 4
+#define __MINOR_VERSION 2
+#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