From e4709ec279fe4e531d33154c3b833a715cf56fbc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jul 2016 16:24:08 +0000 Subject: removing TCHAR + WCHAR from headers git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_db_int.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/m_db_int.h') diff --git a/include/m_db_int.h b/include/m_db_int.h index c4b8d1351f..d33b465ccb 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -144,7 +144,7 @@ struct DBCHeckCallback HANDLE hOutFile; int bCheckOnly, bBackup, bAggressive, bEraseHistory, bMarkRead, bConvertUtf; - void (*pfnAddLogMessage)(int type, const TCHAR* ptszFormat, ...); + void (*pfnAddLogMessage)(int type, const wchar_t* ptszFormat, ...); }; interface MIDatabaseChecker @@ -176,7 +176,7 @@ struct DATABASELINK { int cbSize; char* szShortName; // uniqie short database name - TCHAR* szFullName; // in English, auto-translated by the core + wchar_t* szFullName; // in English, auto-translated by the core /* profile: pointer to a string which contains full path + name @@ -184,7 +184,7 @@ struct DATABASELINK the time of this call, profile will be C:\..\.dat Returns: 0 on success, non zero on failure - error contains extended error information, see EMKPRF_* */ - int (*makeDatabase)(const TCHAR *profile); + int (*makeDatabase)(const wchar_t *profile); /* profile: [in] a null terminated string to file path of selected profile @@ -196,14 +196,14 @@ struct DATABASELINK etc. Returns: 0 on success, non zero on failure */ - int (*grokHeader)(const TCHAR *profile); + int (*grokHeader)(const wchar_t *profile); /* Affect: Tell the database to create all services/hooks that a 3.xx legacy database might support into link, which is a PLUGINLINK structure Returns: 0 on success, nonzero on failure */ - MIDatabase* (*Load)(const TCHAR *profile, BOOL bReadOnly); + MIDatabase* (*Load)(const wchar_t *profile, BOOL bReadOnly); /* Affect: The database plugin should shutdown, unloading things from the core and freeing internal structures @@ -216,7 +216,7 @@ struct DATABASELINK Returns a pointer to the database checker or NULL if a database doesn't support checking When you don't need this object aanymore, call its Destroy() method */ - MIDatabaseChecker* (*CheckDB)(const TCHAR *profile, int *error); + MIDatabaseChecker* (*CheckDB)(const wchar_t *profile, int *error); }; /////////////////////////////////////////////////////////////////////////////// @@ -248,12 +248,12 @@ __forceinline void RegisterDatabasePlugin(DATABASELINK* pDescr) // MS_DB_FIND_PLUGIN : looks for a database plugin suitable to open this file // wParam : 0 (unused) -// lParam : const TCHAR* = name of the database file +// lParam : const wchar_t* = name of the database file // returns DATABASELINK* of the required plugin or NULL on error #define MS_DB_FIND_PLUGIN "DB/FindPlugin" -__forceinline DATABASELINK* FindDatabasePlugin(const TCHAR* ptszFileName) +__forceinline DATABASELINK* FindDatabasePlugin(const wchar_t* ptszFileName) { return (DATABASELINK*)CallService(MS_DB_FIND_PLUGIN, 0, (LPARAM)ptszFileName); } -- cgit v1.2.3