diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 14:56:04 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 14:56:04 +0000 |
commit | bcfd2b7c6f7bc23d30791849712f297e5de01541 (patch) | |
tree | 17bcf9d860215a456337b0be47eed5165d769c59 | |
parent | f7e4dfb6f8b5d058ee3697cef20236f0fa9b127c (diff) |
splashscreen:
added support for the new langpacks
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@103 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r-- | splashscreen/src/headers.h | 3 | ||||
-rw-r--r-- | splashscreen/src/main.cpp | 2 |
2 files changed, 5 insertions, 0 deletions
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);
|