Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.1 KiB

  1. // MapWPge.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CMapWildcardsPge dialog
  5. class CMapWildcardsPge : public CPropertyPage
  6. {
  7. DECLARE_DYNCREATE(CMapWildcardsPge)
  8. // Construction
  9. public:
  10. CMapWildcardsPge();
  11. ~CMapWildcardsPge();
  12. BOOL FInit(IMSAdminBase* pMB);
  13. virtual BOOL OnApply();
  14. virtual BOOL OnInitDialog();
  15. // base path for to the metabase
  16. CString m_szMBPath;
  17. // Dialog Data
  18. //{{AFX_DATA(CMapWildcardsPge)
  19. enum { IDD = IDD_WILDCARDS_1 };
  20. CCheckListCtrl m_clistctrl_list;
  21. CButton m_cbutton_up;
  22. CButton m_cbutton_down;
  23. CButton m_cbutton_add;
  24. CButton m_cbutton_delete;
  25. CButton m_cbutton_editrule;
  26. BOOL m_bool_enable;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generate virtual function overrides
  30. //{{AFX_VIRTUAL(CMapWildcardsPge)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(CMapWildcardsPge)
  38. afx_msg void OnMoveDown();
  39. afx_msg void OnMoveUp();
  40. afx_msg void OnAdd();
  41. afx_msg void OnDelete();
  42. afx_msg void OnEdit();
  43. afx_msg void OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult);
  44. afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
  45. afx_msg void OnEnable();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. void DoHelp();
  49. // more initialization methods
  50. BOOL FInitRulesList();
  51. BOOL FillRulesList();
  52. // editing and updating
  53. void EnableDependantButtons();
  54. int AddRuleToList( CCertMapRule* pRule, DWORD iRule, int iInsert = 0xffffffff );
  55. void UpdateRuleInDispList( DWORD iList, CCertMapRule* pRule );
  56. BOOL EditOneRule( CCertMapRule* pRule, BOOL fAsWizard = FALSE );
  57. BOOL EditMultipleRules();
  58. void OnMove( int delta );
  59. // its storage/persistance object
  60. // CMBWrap m_mbWrap;
  61. // its mapper
  62. CIisRuleMapper m_mapper;
  63. CString m_szMetaPath;
  64. IMSAdminBase* m_pMB;
  65. // flag indicating if changes have been made
  66. BOOL m_fDirty;
  67. };