diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-01 13:23:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-01 13:23:24 +0300 |
commit | aefca653e36f688b6bed627019ba737430b53f52 (patch) | |
tree | f85e8977ec30dc021f3b6add4ce0b7037c2c8bb7 /plugins/TabSRMM/src/utils.cpp | |
parent | 5165df4565a63dceaccbb89ce94d841d413895ed (diff) |
further code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/utils.cpp | 25 |
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.
//
|