diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 15:12:02 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 15:12:02 +0000 |
commit | e508be767406364f01e423f718c416707f14afea (patch) | |
tree | a4539eb9e6db29f180f7289f0c087064f485f285 | |
parent | b91c528915e2f56415a163be3671e542482ab54b (diff) |
useactions:
added support for the new langpacks
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@105 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r-- | useactions/UseActions.c | 2 | ||||
-rw-r--r-- | useactions/common.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/useactions/UseActions.c b/useactions/UseActions.c index 9824a88..71e4371 100644 --- a/useactions/UseActions.c +++ b/useactions/UseActions.c @@ -9,6 +9,7 @@ struct LIST_INTERFACE li = { 0 };
struct MM_INTERFACE mmi;
+int hLangpack;
SortedList ActionItemsList = {0};
TCHAR tszMyPath[MAX_PATH];
@@ -112,6 +113,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) { __declspec (dllexport) int Load(PLUGINLINK *link) {
pluginLink = link;
+ mir_getLP(&pluginInfo);
mir_getLI(&li);
mir_getMMI( &mmi );
ActionItemsList = *(li.List_Create( 0, 1));
diff --git a/useactions/common.h b/useactions/common.h index f44ebd0..6b5da27 100644 --- a/useactions/common.h +++ b/useactions/common.h @@ -25,9 +25,8 @@ #define _UNICODE
#endif
-#ifndef MIRANDA_VER
- #define MIRANDA_VER 0x0700
-#endif
+#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
#include <tchar.h>
|