From faef58e67cca3e6fe21f2ff53abcde06a3fa9ec5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 10 Jul 2014 18:43:45 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@9762 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/utils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp index d985a5f1be..255347395c 100644 --- a/plugins/TabSRMM/src/utils.cpp +++ b/plugins/TabSRMM/src/utils.cpp @@ -46,7 +46,7 @@ static TCHAR *formatting_strings_end[] = { _T("b0 "), _T("i0 "), _T("u0 "), _ #define NR_CODES 5 -LRESULT TSAPI _dlgReturn(HWND hWnd, LRESULT result) +LRESULT _dlgReturn(HWND hWnd, LRESULT result) { SetWindowLongPtr(hWnd, DWLP_MSGRESULT, result); return result; @@ -874,7 +874,7 @@ void Utils::addMenuItem(const HMENU& m, MENUITEMINFO& mii, HICON hIcon, const TC * return != 0 when the sound effect must be played for the given * session. Uses container sound settings */ -int TSAPI Utils::mustPlaySound(const TWindowData *dat) +int Utils::mustPlaySound(const TWindowData *dat) { if (!dat) return 0; @@ -913,7 +913,7 @@ int TSAPI Utils::mustPlaySound(const TWindowData *dat) /** * enable or disable a dialog control */ -void TSAPI Utils::enableDlgControl(const HWND hwnd, UINT id, BOOL fEnable) +void Utils::enableDlgControl(const HWND hwnd, UINT id, BOOL fEnable) { ::EnableWindow(::GetDlgItem(hwnd, id), fEnable); } @@ -921,7 +921,7 @@ void TSAPI Utils::enableDlgControl(const HWND hwnd, UINT id, BOOL fEnable) /** * show or hide a dialog control */ -void TSAPI Utils::showDlgControl(const HWND hwnd, UINT id, int showCmd) +void Utils::showDlgControl(const HWND hwnd, UINT id, int showCmd) { ::ShowWindow(::GetDlgItem(hwnd, id), showCmd); } @@ -948,7 +948,7 @@ DWORD CALLBACK Utils::StreamOut(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG * extract a resource from the given module * tszPath must end with \ */ -bool TSAPI Utils::extractResource(const HMODULE h, const UINT uID, const TCHAR *tszName, const TCHAR *tszPath, +bool Utils::extractResource(const HMODULE h, const UINT uID, const TCHAR *tszName, const TCHAR *tszPath, const TCHAR *tszFilename, bool fForceOverwrite) { HRSRC hRes = FindResource(h, MAKEINTRESOURCE(uID), tszName); -- cgit v1.2.3