diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 04:18:01 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 04:18:01 +0000 |
commit | 1eb5dcc72de7e313f485309c004cca282823393a (patch) | |
tree | 8576e8f6c8bab531a47a432f41988ec8e11b7cdc /popup | |
parent | 79c14b1b7b6785339f5ba4f9266d8be7ac5513fa (diff) |
removed not used code
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@90 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'popup')
-rw-r--r-- | popup/src/services.cpp | 47 |
1 files changed, 0 insertions, 47 deletions
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)
{
|