summaryrefslogtreecommitdiff
path: root/include/m_langpack.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
commite4709ec279fe4e531d33154c3b833a715cf56fbc (patch)
tree4f4183bc7486783e0fd6f6c10f5ce370c01468a8 /include/m_langpack.h
parentc70673812db722c68caef569e2c299f5462b9c13 (diff)
removing TCHAR + WCHAR from headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_langpack.h')
-rw-r--r--include/m_langpack.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/m_langpack.h b/include/m_langpack.h
index 3262c62bc5..e234f67084 100644
--- a/include/m_langpack.h
+++ b/include/m_langpack.h
@@ -42,8 +42,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
EXTERN_C MIR_CORE_DLL(void) Langpack_SortDuplicates(void);
EXTERN_C MIR_CORE_DLL(int) LoadLangPackModule(void);
-EXTERN_C MIR_CORE_DLL(int) LoadLangPack(const TCHAR *szLangPack);
-EXTERN_C MIR_CORE_DLL(void) ReloadLangpack(TCHAR *pszStr);
+EXTERN_C MIR_CORE_DLL(int) LoadLangPack(const wchar_t *szLangPack);
+EXTERN_C MIR_CORE_DLL(void) ReloadLangpack(wchar_t *pszStr);
EXTERN_C MIR_CORE_DLL(char*) TranslateA_LP(const char *str, int hLang);
EXTERN_C MIR_CORE_DLL(wchar_t*) TranslateW_LP(const wchar_t *str, int hLang);
@@ -86,10 +86,10 @@ EXTERN_C MIR_CORE_DLL(int) Langpack_GetDefaultLocale(void);
/////////////////////////////////////////////////////////////////////////////////////////
// returns the strdup/wcsdup of lparam according to the langpack
-// returns a string converted from char* to TCHAR* using the langpack codepage.
+// returns a string converted from char* to wchar_t* using the langpack codepage.
// This string should be freed using mir_free() then
-EXTERN_C MIR_CORE_DLL(TCHAR*) Langpack_PcharToTchar(const char *pszStr);
+EXTERN_C MIR_CORE_DLL(wchar_t*) Langpack_PcharToTchar(const char *pszStr);
/////////////////////////////////////////////////////////////////////////////////////////
// initializes the plugin-specific translation context v0.10.0+
@@ -100,7 +100,7 @@ EXTERN_C MIR_CORE_DLL(void) mir_getLP(const PLUGININFOEX *pInfo, int *_hLang = &
/////////////////////////////////////////////////////////////////////////////////////////
// reloads langpack
// wParam = 0 (ignored)
-// lParam = (LPARAM)(TCHAR*)langpack file name or NULL to reload the current one
+// lParam = (LPARAM)(wchar_t*)langpack file name or NULL to reload the current one
// always returns 0
#define MS_LANGPACK_RELOAD "LangPack/Reload"