summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Compat/compat.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-08-05 18:29:53 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-08-05 18:29:53 +0000
commit10117ea2b47b9c5ae8258cbafe212c3b3a966ca7 (patch)
treefd95dedce7f8725bcf54fa32462197df0ceadd49 /plugins/PluginUpdater/src/Compat/compat.cpp
parent268feddae8e9970bb059e81d044541c32e982517 (diff)
IM Updater fixes (thanks Wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Compat/compat.cpp')
-rw-r--r--plugins/PluginUpdater/src/Compat/compat.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Compat/compat.cpp b/plugins/PluginUpdater/src/Compat/compat.cpp
index 25fdcf27e0..260ff99039 100644
--- a/plugins/PluginUpdater/src/Compat/compat.cpp
+++ b/plugins/PluginUpdater/src/Compat/compat.cpp
@@ -19,6 +19,21 @@ Boston, MA 02111-1307, USA.
This file contains some compatibility functions for Miranda IM
*/
+#include "Common.h"
+
+PLUGINLINK *pluginLink;
+MM_INTERFACE mmi;
+LIST_INTERFACE li;
+MD5_INTERFACE md5i;
+UTF8_INTERFACE utfi;
+
+static const MUUID interfaces[] = {MIID_UPDATER, MIID_LAST};
+
+extern "C" __declspec(dllexport) const MUUID *MirandaPluginInterfaces()
+{
+ return interfaces;
+}
+
static char szHexTable[] = "0123456789abcdef";
char *bin2hex(const void *pData, size_t len, char *dest)