summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-01 13:23:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-01 13:23:24 +0300
commitaefca653e36f688b6bed627019ba737430b53f52 (patch)
treef85e8977ec30dc021f3b6add4ce0b7037c2c8bb7 /plugins/TabSRMM/src/utils.cpp
parent5165df4565a63dceaccbb89ce94d841d413895ed (diff)
further code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r--plugins/TabSRMM/src/utils.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index 5b28e57a1b..6d6d2d2dc5 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -841,31 +841,6 @@ wchar_t* Utils::extractURLFromRichEdit(const ENLINK* _e, const HWND hwndRich)
}
/////////////////////////////////////////////////////////////////////////////////////////
-// generic command dispatcher
-// used in various places (context menus, info panel menus etc.)
-
-LRESULT Utils::CmdDispatcher(UINT uType, HWND hwndDlg, UINT cmd, WPARAM wParam, LPARAM lParam, CTabBaseDlg *dat, TContainerData *pContainer)
-{
- switch (uType) {
- case CMD_CONTAINER:
- if (pContainer && hwndDlg)
- return DM_ContainerCmdHandler(pContainer, cmd, wParam, lParam);
- break;
-
- case CMD_MSGDIALOG:
- if (pContainer && hwndDlg && dat)
- return DM_MsgWindowCmdHandler(hwndDlg, pContainer, dat, cmd, wParam, lParam);
- break;
-
- case CMD_INFOPANEL:
- if (dat->MsgWindowMenuHandler(cmd, MENU_LOGMENU) == 0)
- return DM_MsgWindowCmdHandler(hwndDlg, pContainer, dat, cmd, wParam, lParam);
- break;
- }
- return 0;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
// filters out invalid characters from a string used as part of a file
// or folder name. All invalid characters will be replaced by spaces.
//