summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-01-28 16:04:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-01-28 16:04:16 +0000
commitbb5aff746c50564ded61159c5ae28e6218d0a49d (patch)
tree0ec2ef5c4b6b6b9cf6c3bb4a606cf632e69b6d31 /plugins/FileAsMessage
parent1042a84dd1f01c249a946ec708d3dae2881ecfab (diff)
another atavism removed: old stub services for clist events
git-svn-id: http://svn.miranda-ng.org/main/trunk@16181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage')
-rw-r--r--plugins/FileAsMessage/src/dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FileAsMessage/src/dialog.cpp b/plugins/FileAsMessage/src/dialog.cpp
index 6a62142159..5c2329fcc5 100644
--- a/plugins/FileAsMessage/src/dialog.cpp
+++ b/plugins/FileAsMessage/src/dialog.cpp
@@ -71,7 +71,7 @@ static int CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM
case WM_COMMAND:
{
PUDeletePopup(hWnd);
- CallService(MS_CLIST_REMOVEEVENT, hContact, 0);
+ pcli->pfnRemoveEvent(hContact, 0);
if (IsWindow(hDlg))
{
@@ -469,7 +469,7 @@ void FILEECHO::incomeRequest(char *param)
cle.flags = CLEF_URGENT;
cle.hDbEvent = 0;
cle.pszService = SERVICE_NAME "/FERecvFile";
- CallService(MS_CLIST_ADDEVENT, 0, (LPARAM)&cle);
+ pcli->pfnAddEvent(&cle);
MakePopupMsg(hDlg, hContact, "Incoming file...");
}
@@ -546,7 +546,7 @@ void FILEECHO::onRecvTimer()
if (db_get_b(NULL, "SRFile", "AutoClose", 0))
{
PostMessage(hDlg, WM_CLOSE, 0, 0);
- CallService(MS_CLIST_REMOVEEVENT, hContact, 0);
+ pcli->pfnRemoveEvent(hContact, 0);
}
SkinPlaySound("FileDone");
destroyTransfer();