summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/config.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
commit6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch)
tree2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/Clist_nicer/src/config.h
parenta61c8728b379057fe7f0a0d86fe0b037598229dd (diff)
less TCHARs:
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/config.h')
-rw-r--r--plugins/Clist_nicer/src/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_nicer/src/config.h b/plugins/Clist_nicer/src/config.h
index 327353432e..581d01b0be 100644
--- a/plugins/Clist_nicer/src/config.h
+++ b/plugins/Clist_nicer/src/config.h
@@ -38,13 +38,13 @@ typedef HRESULT (WINAPI *pfnDwmIsCompositionEnabled_t)(BOOL *);
class CRTException : public std::runtime_error
{
public:
- CRTException(const char *szMsg, const TCHAR *szParam);
+ CRTException(const char *szMsg, const wchar_t *szParam);
~CRTException() {}
void display() const;
private:
- TCHAR m_szParam[MAX_PATH];
+ wchar_t m_szParam[MAX_PATH];
};
class cfg
@@ -80,7 +80,7 @@ public:
static void Ex_CopyEditToClipboard (HWND hWnd);
static INT_PTR CALLBACK Ex_DlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
static void Ex_Handler ();
- static int Ex_ShowDialog (EXCEPTION_POINTERS *ep, const char *szFile, int line, TCHAR* szReason, bool fAllowContinue);
+ static int Ex_ShowDialog (EXCEPTION_POINTERS *ep, const char *szFile, int line, wchar_t* szReason, bool fAllowContinue);
static pfnDwmExtendFrameIntoClientArea_t pfnDwmExtendFrameIntoClientArea;
static pfnDwmIsCompositionEnabled_t pfnDwmIsCompositionEnabled;
@@ -92,7 +92,7 @@ public:
static CONTEXT exCtx;
static LRESULT exLastResult;
static char exSzFile[MAX_PATH];
- static TCHAR exReason[256];
+ static wchar_t exReason[256];
static int exLine;
static bool exAllowContinue;
@@ -105,7 +105,7 @@ class Utils
public:
static void TSAPI enableDlgControl(const HWND hwnd, UINT id, BOOL fEnable);
static void TSAPI showDlgControl(const HWND hwnd, UINT id, int showCmd);
- static HMODULE loadSystemLibrary(const TCHAR* szFilename, bool useGetHandle = false);
+ static HMODULE loadSystemLibrary(const wchar_t* szFilename, bool useGetHandle = false);
};