Leaked source code of windows server 2003
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.

91 lines
2.2 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. BOOL m_fIsIIS6;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generate virtual function overrides
  31. //{{AFX_VIRTUAL(CMapWildcardsPge)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CMapWildcardsPge)
  39. afx_msg void OnMoveDown();
  40. afx_msg void OnMoveUp();
  41. afx_msg void OnAdd();
  42. afx_msg void OnDelete();
  43. afx_msg void OnEdit();
  44. afx_msg void OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult);
  45. afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
  46. afx_msg void OnEnable();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. void DoHelp();
  50. // more initialization methods
  51. BOOL FInitRulesList();
  52. BOOL FillRulesList();
  53. // editing and updating
  54. void EnableDependantButtons();
  55. int AddRuleToList( CCertMapRule* pRule, DWORD iRule, int iInsert = 0xffffffff );
  56. void UpdateRuleInDispList( DWORD iList, CCertMapRule* pRule );
  57. BOOL EditOneRule( CCertMapRule* pRule, BOOL fAsWizard = FALSE );
  58. BOOL EditMultipleRules();
  59. void OnMove( int delta );
  60. // its storage/persistance object
  61. // CMBWrap m_mbWrap;
  62. // its mapper
  63. CIisRuleMapper m_mapper;
  64. CString m_szMetaPath;
  65. IMSAdminBase* m_pMB;
  66. // flag indicating if changes have been made
  67. BOOL m_fDirty;
  68. };