From f2007b09a799f7259632a761edab9598e766cfbb Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sun, 15 May 2011 10:39:20 +0000 Subject: MRA: added support for the new langpacks git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@97 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- MRA/Mra.cpp | 4 ++-- MRA/Mra.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'MRA') 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 #include -- cgit v1.2.3