OSDN Git Service

Update CWindowsManagerDialog - check some pointers for null and made … (#824) (2)
[winmerge-jp/winmerge-jp.git] / Src / DirCmpReportDlg.h
1 /** 
2  * @file  DirCmpReportDlg.h
3  *
4  * @brief Declaration file for DirCmpReport Dialog.
5  *
6  */
7 #pragma once
8
9 #include "DirReportTypes.h"
10 #include "TrDialogs.h"
11 #include "SuperComboBox.h"
12
13 /** 
14  * @brief Folder compare dialog class.
15  * This dialog (and class) shows folder-compare report's selections
16  * for user. Also filename and path for report file can be chosen
17  * with this dialog.
18  */
19 class DirCmpReportDlg : public CTrDialog
20 {
21         DECLARE_DYNAMIC(DirCmpReportDlg)
22
23 public:
24         explicit DirCmpReportDlg(CWnd* pParent = nullptr);   // standard constructor
25
26 // Dialog Data
27         enum { IDD = IDD_DIRCMP_REPORT };
28
29 protected:
30         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
31
32         DECLARE_MESSAGE_MAP()
33 public:
34         void LoadSettings();
35
36         // Generated message map functions
37         //{{AFX_MSG(DirCmpReportDlg)
38         afx_msg void OnBtnClickReportBrowse();
39         afx_msg void OnBtnDblclickCopyClipboard();
40         afx_msg void OnCbnSelchangeReportStylecombo();
41         virtual BOOL OnInitDialog() override;
42         virtual void OnOK() override;
43         //}}AFX_MSG
44
45         //{{AFX_DATA(DirCmpReportDlg)
46         CSuperComboBox m_ctlReportFile; /**< Report filename control */
47         String m_sReportFile; /**< Report filename string */
48         CComboBox m_ctlStyle; /**< Report type control */
49         REPORT_TYPE m_nReportType; /**< Report type integer */
50         bool m_bCopyToClipboard; /**< Do we copy report to clipboard? */
51         bool m_bIncludeFileCmpReport; /**< Do we include file compare report in folder compare report? */
52         //}}AFX_DATA
53 };