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.

68 lines
1.7 KiB

  1. // EdWldRul.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CEditWildcardRule dialog
  5. class CEditWildcardRule : public CNTBrowsingDialog
  6. {
  7. // Construction
  8. public:
  9. CEditWildcardRule(IMSAdminBase* pMB, CWnd* pParent = NULL); // standard constructor
  10. virtual void OnOK();
  11. virtual BOOL OnInitDialog();
  12. // the only public member
  13. CCertMapRule* m_pRule;
  14. // base path to the metabase
  15. CString m_szMBPath;
  16. // Dialog Data
  17. //{{AFX_DATA(CEditWildcardRule)
  18. enum { IDD = IDD_WILDCARDS_2 };
  19. CListSelRowCtrl m_clistctrl_list;
  20. CButton m_cbutton_edit;
  21. CButton m_cbutton_delete;
  22. CButton m_cbutton_new;
  23. CString m_sz_description;
  24. BOOL m_bool_enable;
  25. int m_int_MatchAllIssuers;
  26. int m_int_DenyAccess;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CEditWildcardRule)
  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(CEditWildcardRule)
  38. afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
  39. afx_msg void OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult);
  40. afx_msg void OnEdit();
  41. afx_msg void OnNew();
  42. afx_msg void OnDelete();
  43. afx_msg void OnSelectIssuer();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. // more initialization methods
  47. BOOL FInitRulesList();
  48. BOOL FillRulesList();
  49. // editing and updating
  50. void EnableDependantButtons();
  51. BOOL EditRule( DWORD iList );
  52. IMSAdminBase* m_pMB;
  53. };