diff options
author | dartraiden <wowemuh@gmail.com> | 2019-07-29 22:50:12 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2019-07-29 22:50:12 +0300 |
commit | 88eda46b8e41d5929e8fc9ed52d29e94517127f6 (patch) | |
tree | 2ac8c574e408caa5874a6ef44c86d2ab28a933a0 /plugins/WhoUsesMyFiles | |
parent | d87d1afb313c692fa25d770df80da33302364ea4 (diff) |
WUMF: remove dead code
Diffstat (limited to 'plugins/WhoUsesMyFiles')
-rw-r--r-- | plugins/WhoUsesMyFiles/src/options.cpp | 14 | ||||
-rw-r--r-- | plugins/WhoUsesMyFiles/src/resource.h | 4 | ||||
-rw-r--r-- | plugins/WhoUsesMyFiles/src/stdafx.h | 8 | ||||
-rw-r--r-- | plugins/WhoUsesMyFiles/src/wumfplug.cpp | 4 |
4 files changed, 0 insertions, 30 deletions
diff --git a/plugins/WhoUsesMyFiles/src/options.cpp b/plugins/WhoUsesMyFiles/src/options.cpp index ffffa5335a..d86f73acf1 100644 --- a/plugins/WhoUsesMyFiles/src/options.cpp +++ b/plugins/WhoUsesMyFiles/src/options.cpp @@ -112,9 +112,6 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg,UINT msg,WPARAM wparam,LPARAM lpara //Logging & alerts CheckDlgButton(hwndDlg, IDC_LOG_FOLDER, WumfOptions.LogFolders ? BST_CHECKED : BST_UNCHECKED); CheckDlgButton(hwndDlg, IDC_ALERT_FOLDER, WumfOptions.AlertFolders ? BST_CHECKED : BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_LOG_UNC, WumfOptions.LogUNC ? BST_CHECKED : BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_ALERT_UNC, WumfOptions.AlertUNC ? BST_CHECKED : BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_LOG_COMP, WumfOptions.LogComp ? BST_CHECKED : BST_UNCHECKED); if (WumfOptions.LogToFile) { CheckDlgButton(hwndDlg,IDC_LOG_INTO_FILE,BST_CHECKED); @@ -156,13 +153,6 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg,UINT msg,WPARAM wparam,LPARAM lpara SendDlgItemMessage(hwndDlg,IDC_COLOR_TEXT,CPM_SETCOLOUR,0,WumfOptions.ColorText); SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); break; - /* not implemented */ - case IDC_LOG_COMP: - case IDC_ALERT_COMP: - case IDC_LOG_UNC: - case IDC_ALERT_UNC: - MessageBox(nullptr, TranslateT("Not implemented yet..."), L"WUMF", MB_OK | MB_ICONINFORMATION); - break; /* end */ case IDC_LOG_INTO_FILE: WumfOptions.LogToFile = (IsDlgButtonChecked(hwndDlg, IDC_LOG_INTO_FILE) == BST_CHECKED); @@ -245,10 +235,6 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg,UINT msg,WPARAM wparam,LPARAM lpara g_plugin.setByte(LOG_INTO_FILE, (BYTE)WumfOptions.LogToFile); g_plugin.setByte(LOG_FOLDER, (BYTE)WumfOptions.LogFolders); g_plugin.setByte(ALERT_FOLDER, (BYTE)WumfOptions.AlertFolders); - g_plugin.setByte(LOG_UNC, (BYTE)WumfOptions.LogUNC); - g_plugin.setByte(ALERT_UNC, (BYTE)WumfOptions.AlertUNC); - g_plugin.setByte(LOG_COMP, (BYTE)WumfOptions.LogComp); - g_plugin.setByte(ALERT_COMP, (BYTE)WumfOptions.AlertComp); GetDlgItemText(hwndDlg, IDC_FILE, WumfOptions.LogFile, _countof(WumfOptions.LogFile)); g_plugin.setWString(OPT_FILE, WumfOptions.LogFile); } diff --git a/plugins/WhoUsesMyFiles/src/resource.h b/plugins/WhoUsesMyFiles/src/resource.h index 9ce164f144..a189cca255 100644 --- a/plugins/WhoUsesMyFiles/src/resource.h +++ b/plugins/WhoUsesMyFiles/src/resource.h @@ -22,10 +22,6 @@ #define IDC_LOG_INTO_FILE 1054
#define IDC_LOG_FOLDER 1055
#define IDC_ALERT_FOLDER 1056
-#define IDC_LOG_UNC 1057
-#define IDC_ALERT_UNC 1058
-#define IDC_LOG_COMP 1059
-#define IDC_ALERT_COMP 1060
#define IDC_CONNLIST 1061
#define IDC_CONN 1062
diff --git a/plugins/WhoUsesMyFiles/src/stdafx.h b/plugins/WhoUsesMyFiles/src/stdafx.h index 6a97ddac78..d83387ebbd 100644 --- a/plugins/WhoUsesMyFiles/src/stdafx.h +++ b/plugins/WhoUsesMyFiles/src/stdafx.h @@ -42,10 +42,6 @@ #define LOG_INTO_FILE "1054"
#define LOG_FOLDER "1055"
#define ALERT_FOLDER "1056"
-#define LOG_UNC "1057"
-#define ALERT_UNC "1058"
-#define LOG_COMP "1059"
-#define ALERT_COMP "1060"
#define IDM_SETUP 0x0402
#define IDM_ABOUT 0x0403
@@ -66,10 +62,6 @@ struct WUMF_OPTIONS BOOL LogToFile;
BOOL LogFolders;
BOOL AlertFolders;
- BOOL LogUNC;
- BOOL AlertUNC;
- BOOL LogComp;
- BOOL AlertComp;
COLORREF ColorText;
COLORREF ColorBack;
diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp index 1ebafe4386..60444a7efd 100644 --- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp +++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp @@ -58,10 +58,6 @@ void LoadOptions() WumfOptions.LogToFile = g_plugin.getByte(LOG_INTO_FILE, FALSE);
WumfOptions.LogFolders = g_plugin.getByte(LOG_FOLDER, TRUE);
WumfOptions.AlertFolders = g_plugin.getByte(ALERT_FOLDER, TRUE);
- WumfOptions.LogUNC = g_plugin.getByte(LOG_UNC, FALSE);
- WumfOptions.AlertUNC = g_plugin.getByte(ALERT_UNC, FALSE);
- WumfOptions.LogComp = g_plugin.getByte(LOG_COMP, FALSE);
- WumfOptions.AlertComp = g_plugin.getByte(ALERT_COMP, FALSE);
}
void ExecuteMenu(HWND hWnd)
|