From 1eb5dcc72de7e313f485309c004cca282823393a Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sun, 15 May 2011 04:18:01 +0000 Subject: removed not used code git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@90 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- popup/src/services.cpp | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'popup/src') diff --git a/popup/src/services.cpp b/popup/src/services.cpp index 416ce64..5d55132 100644 --- a/popup/src/services.cpp +++ b/popup/src/services.cpp @@ -144,53 +144,6 @@ static bool isFullScreen() return dat.isFullScreen; } -//===== Hook clist services -static LRESULT CALLBACK ClistEventPopupWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); - -static LRESULT CALLBACK ClistEventPopupWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) -{ - switch (msg) - { - case WM_COMMAND: - { - CLISTEVENT *pCle = (CLISTEVENT *)CallService(MS_POPUP_GETPLUGINDATA, (WPARAM)hwnd, 0); - if (pCle && pCle->pszService) - { - CallServiceSync(pCle->pszService, 0, (LPARAM)pCle); - CallService(MS_CLIST_REMOVEEVENT, (WPARAM)pCle->hContact, (LPARAM)pCle->hDbEvent); - } - PUDeletePopUp(hwnd); - return TRUE; - } - - case WM_CONTEXTMENU: - { - CLISTEVENT *pCle = (CLISTEVENT *)CallService(MS_POPUP_GETPLUGINDATA, (WPARAM)hwnd, 0); - if (pCle) - CallService(MS_CLIST_REMOVEEVENT, (WPARAM)pCle->hContact, (LPARAM)pCle->hDbEvent); - PUDeletePopUp(hwnd); - return TRUE; - } - - case UM_INITPOPUP: - return TRUE; - - case UM_FREEPLUGINDATA: - { - CLISTEVENT *pCle = (CLISTEVENT *)CallService(MS_POPUP_GETPLUGINDATA, (WPARAM)hwnd, 0); - if (pCle) - { - mir_free(pCle->pszTooltip); - mir_free(pCle->pszService); - mir_free(pCle); - } - return TRUE; - } - } - - return DefWindowProc(hwnd, msg, wParam, lParam); -} - //===== PopUp/AddPopUp INT_PTR PopUp_AddPopUp(WPARAM wParam, LPARAM lParam) { -- cgit v1.2.3