diff options
author | katze <katze@noreply.codeberg.org> | 2020-11-11 02:48:09 +0100 |
---|---|---|
committer | katze <katze@noreply.codeberg.org> | 2020-11-11 02:48:09 +0100 |
commit | ff1c78f6670108a304bdcc80fb7b9d9debfd4bf7 (patch) | |
tree | ff76e41ce7fce36e10e01a6623d05c897088a6a1 /tool/PGListUtil/src/PGListUtil/WindowMain.h | |
parent | a9765c7c0e4c8b85b4f300192a50b44bf1a33972 (diff) | |
download | cloudflare-tor-ff1c78f6670108a304bdcc80fb7b9d9debfd4bf7.tar.lz cloudflare-tor-ff1c78f6670108a304bdcc80fb7b9d9debfd4bf7.tar.xz cloudflare-tor-ff1c78f6670108a304bdcc80fb7b9d9debfd4bf7.zip |
Upload files to 'tool/PGListUtil/src/PGListUtil'
Diffstat (limited to 'tool/PGListUtil/src/PGListUtil/WindowMain.h')
-rw-r--r-- | tool/PGListUtil/src/PGListUtil/WindowMain.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tool/PGListUtil/src/PGListUtil/WindowMain.h b/tool/PGListUtil/src/PGListUtil/WindowMain.h new file mode 100644 index 00000000..d02c3b7f --- /dev/null +++ b/tool/PGListUtil/src/PGListUtil/WindowMain.h @@ -0,0 +1,39 @@ +#ifndef WINDOWMAIN_H
+#define WINDOWMAIN_H
+
+#include <windows.h>
+
+#define STRLEN_TEMP 1024
+#define STRLEN_PATH 1024
+#define STRLEN_EXPFILT 128
+#define STRLEN_RESULT 64
+
+namespace WindowMain {
+
+struct COption {
+ bool sortCap;
+ bool sortIp;
+ bool delDupIp;
+ bool saveAppend;
+ bool filtAnd;
+ bool filtDel;
+};
+
+BOOL Init(HINSTANCE hInstance);
+
+BOOL CALLBACK DlgProcMain(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp);
+
+void Dlg_Executing(HWND hDlg, BOOL bExec);
+int ListView_Infile_GetItemCount(HWND hDlg);
+BOOL ListView_Infile_GetItemText(HWND hDlg, int nItem, LPTSTR tsPath);
+BOOL Edit_Outfile_GetText(HWND hDlg, LPTSTR tsPath);
+BOOL Edit_Filter_GetText(HWND hDlg, LPTSTR tsText);
+
+BOOL GetOption(HWND hDlg, COption *option);
+
+void Edit_Result_SetText(HWND hDlg, LPCTSTR tsText);
+void Edit_Result_AppendText(HWND hDlg, LPCTSTR tsText);
+
+}
+
+#endif // WINDOWMAIN_H
|