OSDN Git Service

Plugins: Fix a crash on Window XP
[winmerge-jp/winmerge-jp.git] / Src / DirFilterDlg.h
1 /** 
2  * @file  DirFilterDlg.h
3  *
4  * @brief Declaration file for DirCmpReport Dialog.
5  *
6  */
7 #pragma once
8
9 #include "DirReportTypes.h"
10 #include "SuperComboBox.h"
11
12 /** 
13  * @brief Folder compare dialog class.
14  * This dialog (and class) showa folder-compare report's selections
15  * for user. Also filename and path for report file can be chosen
16  * with this dialog.
17  */
18 class DirFilterDlg : public CDialog
19 {
20         DECLARE_DYNAMIC(DirFilterDlg)
21
22 public:
23         explicit DirFilterDlg(CWnd* pParent = NULL);   // standard constructor
24
25 // Dialog Data
26         enum { IDD = IDD_DIR_FILTER };
27
28 protected:
29         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
30
31         DECLARE_MESSAGE_MAP()
32 public:
33         afx_msg void OnBtnClickReportBrowse();
34         afx_msg void OnBtnDblclickCopyClipboard();
35         virtual BOOL OnInitDialog();
36         virtual void OnOK();
37
38         CSuperComboBox m_ctlReportFile; /**< Report filename control */
39         CString m_sReportFile; /**< Report filename string */
40         CComboBox m_ctlStyle; /**< Report type control */
41         REPORT_TYPE m_nReportType; /**< Report type integer */
42         BOOL m_bCopyToClipboard; /**< Do we copy report to clipboard? */
43 };