From bcfd2b7c6f7bc23d30791849712f297e5de01541 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sun, 15 May 2011 14:56:04 +0000 Subject: splashscreen: added support for the new langpacks git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@103 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- splashscreen/src/headers.h | 3 +++ splashscreen/src/main.cpp | 2 ++ 2 files changed, 5 insertions(+) (limited to 'splashscreen/src') diff --git a/splashscreen/src/headers.h b/splashscreen/src/headers.h index a8cafb5..d541462 100644 --- a/splashscreen/src/headers.h +++ b/splashscreen/src/headers.h @@ -25,6 +25,9 @@ #ifndef HEADERS_H #define HEADERS_H +#define MIRANDA_VER 0x0900 +#define MIRANDA_CUSTOM_LP + #define _WIN32_WINNT 0x0500 #define WINVER 0x0400 #define AC_SRC_ALPHA 0x01 diff --git a/splashscreen/src/main.cpp b/splashscreen/src/main.cpp index dda03f6..45f7fae 100644 --- a/splashscreen/src/main.cpp +++ b/splashscreen/src/main.cpp @@ -28,6 +28,7 @@ HINSTANCE hInst = 0; PLUGINLINK *pluginLink; struct MM_INTERFACE mmi; +int hLangpack; static HMODULE hUserDll = NULL; static HMODULE hAdvaimg = NULL; @@ -405,6 +406,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) { pluginLink = link; + mir_getLP(&pluginInfo); mir_getMMI(&mmi); hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded); -- cgit v1.2.3