diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 14:29:38 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 14:29:38 +0000 |
commit | d69fe8c8c883b88a4d0a61ffcd13d7fab54b63df (patch) | |
tree | 2d8e9e3683fac105b3b9d86306b2e2171687710d | |
parent | 2967300aae9b043942809c1de918e343f5c23dc8 (diff) |
Bass_interface:
added support for the new langpacks
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@100 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r-- | Bass_interface/Bass_interface.h | 5 | ||||
-rw-r--r-- | Bass_interface/Main.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Bass_interface/Bass_interface.h b/Bass_interface/Bass_interface.h index 8f60fb8..ddbf636 100644 --- a/Bass_interface/Bass_interface.h +++ b/Bass_interface/Bass_interface.h @@ -5,9 +5,8 @@ Copyright (C) 2010, 2011 tico-tico #ifndef __BASS_INTERFACE_H__
#define __BASS_INTERFACE_H__
-#ifdef MIR8
-#define MIRANDA_VER 0x0800
-#endif
+#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
#include <windows.h>
#include <newpluginapi.h>
diff --git a/Bass_interface/Main.c b/Bass_interface/Main.c index ce85a6d..a2870b4 100644 --- a/Bass_interface/Main.c +++ b/Bass_interface/Main.c @@ -6,6 +6,7 @@ Copyright (C) 2010, 2011 tico-tico HINSTANCE hInst;
PLUGINLINK *pluginLink;
+int hLangpack;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -483,6 +484,7 @@ int OnShutdown(WPARAM wParam, LPARAM lParam) int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
+ mir_getLP(&pluginInfo);
mir_getMMI(&mmi);
hHooks[0] = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
|