summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:43:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:43:45 +0000
commitfaef58e67cca3e6fe21f2ff53abcde06a3fa9ec5 (patch)
tree9fc30f8ffa63ef3293f41580bfc5446521807d03 /plugins
parent64d1d661e16cf7092373b6cd987e6c665c98e32a (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9762 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/utils.cpp10
1 files 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);