summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-15 10:39:20 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-15 10:39:20 +0000
commitf2007b09a799f7259632a761edab9598e766cfbb (patch)
treed08154fe1c3cd61adb7a7f68eed6a916b55e0bb5
parent6a69c6f196ed42123cd91d16065a9582fba59222 (diff)
MRA:
added support for the new langpacks git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@97 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r--MRA/Mra.cpp4
-rw-r--r--MRA/Mra.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/MRA/Mra.cpp b/MRA/Mra.cpp
index ef75675..3d8cea3 100644
--- a/MRA/Mra.cpp
+++ b/MRA/Mra.cpp
@@ -403,8 +403,7 @@ extern "C" __declspec(naked) void __cdecl _allshl()
PLUGINLINK *pluginLink;
MM_INTERFACE mmi;
MRA_SETTINGS masMraSettings;
-
-
+int hLangpack;
PLUGININFOEX pluginInfoEx={
sizeof(PLUGININFOEX),
@@ -530,6 +529,7 @@ extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
PROTOCOLDESCRIPTOR pd={0};
pluginLink=link;
+ mir_getLP(&pluginInfoEx);
mir_getMMI(&mmi);
diff --git a/MRA/Mra.h b/MRA/Mra.h
index ec0fb4a..bbe4384 100644
--- a/MRA/Mra.h
+++ b/MRA/Mra.h
@@ -17,6 +17,7 @@
#define _WIN32_WINNT 0x0502
#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
#include <windows.h>
#include <wincrypt.h>