summaryrefslogtreecommitdiff
path: root/include/m_langpack.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-03 20:59:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-03 20:59:43 +0000
commit81ff20eeeb59aa2c72b737d7c6e18baa1a2478d5 (patch)
tree23ba4f180287ca66042c1d90c06d0816b4b99165 /include/m_langpack.h
parentd08dc5de734505b7016a517e27f7ab6eef06e271 (diff)
MS_LANGPACK_RELOAD - dynamically reloads a language pack
git-svn-id: http://svn.miranda-ng.org/main/trunk@290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_langpack.h')
-rw-r--r--include/m_langpack.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/m_langpack.h b/include/m_langpack.h
index cdcd401d59..da15c63ea0 100644
--- a/include/m_langpack.h
+++ b/include/m_langpack.h
@@ -191,11 +191,15 @@ __inline static INT_PTR Langpack_PCharToTChar(const char* str)
#define MS_LANGPACK_REGISTER "LangPack/Register"
#if defined( MIRANDA_CUSTOM_LP )
-
__forceinline void mir_getLP( const PLUGININFOEX* pInfo )
{ CallService(MS_LANGPACK_REGISTER, (WPARAM)&hLangpack, (LPARAM)pInfo);
}
-
#endif
+//reloads langpack
+//wParam=0 (ignored)
+//lParam=(LPARAM)(TCHAR*)langpack file name or NULL to reload the current one
+//always returns 0
+#define MS_LANGPACK_RELOAD "LangPack/Reload"
+
#endif // M_LANGPACK_H__