summaryrefslogtreecommitdiff
path: root/include/m_langpack.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-12-11 13:45:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-12-11 13:45:13 +0300
commita569fea827be7c1719f3eaca1d8b33d82d4b7889 (patch)
treecf9bd4461fb700002ec1278623eab7070bdbce1e /include/m_langpack.h
parentd2e79ad0a421f2cc20c35f848e823d707f1f53d3 (diff)
code cleaning
Diffstat (limited to 'include/m_langpack.h')
-rw-r--r--include/m_langpack.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/m_langpack.h b/include/m_langpack.h
index 7d97d36499..45e408a499 100644
--- a/include/m_langpack.h
+++ b/include/m_langpack.h
@@ -92,6 +92,12 @@ EXTERN_C MIR_CORE_DLL(int) Langpack_GetDefaultLocale(void);
EXTERN_C MIR_CORE_DLL(wchar_t*) Langpack_PcharToTchar(const char *pszStr);
/////////////////////////////////////////////////////////////////////////////////////////
+// retrieves the hLangpack of a plugin by its HINSTANCE
+// returns hLangpack if found, or 0 if error occurred
+
+EXTERN_C MIR_APP_DLL(int) GetPluginLangByInstance(HINSTANCE);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// reloads langpack
// wParam = 0 (ignored)
// lParam = (LPARAM)(wchar_t*)langpack file name or NULL to reload the current one