summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-04 14:14:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-04 14:14:58 +0000
commitf5baf2606966349e067d423a596722b66c401651 (patch)
treed501fa4b011c2c074b12e48284f5f2b824d971b0 /src/core
parentfc477d493da24a91dd9d095fbcf74a9b09c15fa8 (diff)
- internal langpack preparation for hLangpack-dependent resource cleaning
- langpack functions' names normalization (2Awk: safe for plugins written in Delphi) git-svn-id: http://svn.miranda-ng.org/main/trunk@758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r--src/core/miranda.h8
-rw-r--r--src/core/modules.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/core/miranda.h b/src/core/miranda.h
index 7dfba64a66..8b7d5769db 100644
--- a/src/core/miranda.h
+++ b/src/core/miranda.h
@@ -247,3 +247,11 @@ public:
#define StrConvTu(x) x
#define StrConvA(x) StrConvAT(x)
#define StrConvU(x) x
+
+///////////////////////////////////////////////////////////////////////////////
+
+extern "C"
+{
+ MIR_CORE_DLL(int) Langpack_GetPluginHandle(PLUGININFOEX* pInfo);
+ MIR_CORE_DLL(int) Langpack_MarkPluginLoaded(PLUGININFOEX* pInfo);
+};
diff --git a/src/core/modules.cpp b/src/core/modules.cpp
index 68a718bc11..d1636a09a0 100644
--- a/src/core/modules.cpp
+++ b/src/core/modules.cpp
@@ -136,7 +136,7 @@ int LoadDefaultModules(void)
if ( LoadAddContactModule()) return 1;
if ( LoadNewPluginsModule()) return 1; // will call Load(void) on everything, clist will load first
- LangPackDropUnusedItems();
+ Langpack_SortDuplicates();
if ( LoadAccountsModule()) return 1;