2 * @file SharedFilterDlg.h
4 * @brief Declaration file for CSharedFilterDlg.
11 /////////////////////////////////////////////////////////////////////////////
12 // CSharedFilterDlg dialog
15 * @brief A dialog for selecting shared/private filter creation.
16 * This dialog allows user to select if the new filter is a shared filter
17 * (placed into WinMerge executable's subfolder) or private filter
18 * (placed into profile folder).
20 class CSharedFilterDlg : public CTrDialog
24 enum FilterType : int { SHARED = 0, PRIVATE = 1 };
25 explicit CSharedFilterDlg(FilterType type, CWnd* pParent = nullptr);
26 FilterType GetSelectedFilterType() const { return m_selectedType; }
32 //{{AFX_DATA(CSharedFilterDlg)
33 enum { IDD = IDD_SHARED_FILTER };
37 // ClassWizard generated virtual function overrides
38 //{{AFX_VIRTUAL(CSharedFilterDlg)
40 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
44 // Generated message map functions
45 //{{AFX_MSG(CSharedFilterDlg)
49 // Implementation data
51 FilterType m_selectedType;