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.

82 lines
2.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: TemplateV2AuthenticationPropertyPage.h
  7. //
  8. // Contents: Definition of CTemplateV2AuthenticationPropertyPage
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_TEMPLATEV2AUTHENTICATIONPROPERTYPAGE_H__FA3C2A95_B56D_4948_8BB8_F825323B8C31__INCLUDED_)
  12. #define AFX_TEMPLATEV2AUTHENTICATIONPROPERTYPAGE_H__FA3C2A95_B56D_4948_8BB8_F825323B8C31__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // TemplateV2AuthenticationPropertyPage.h : header file
  17. //
  18. #include "CertTemplate.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CTemplateV2AuthenticationPropertyPage dialog
  21. class CTemplateV2AuthenticationPropertyPage : public CHelpPropertyPage
  22. {
  23. // Construction
  24. public:
  25. CTemplateV2AuthenticationPropertyPage(CCertTemplate& rCertTemplate,
  26. bool& rbIsDirty);
  27. ~CTemplateV2AuthenticationPropertyPage();
  28. // Dialog Data
  29. //{{AFX_DATA(CTemplateV2AuthenticationPropertyPage)
  30. enum { IDD = IDD_TEMPLATE_V2_AUTHENTICATION };
  31. CComboBox m_applicationPolicyCombo;
  32. CComboBox m_policyTypeCombo;
  33. CListBox m_issuanceList;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generate virtual function overrides
  37. //{{AFX_VIRTUAL(CTemplateV2AuthenticationPropertyPage)
  38. public:
  39. virtual BOOL OnKillActive();
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. void ClearIssuanceList ();
  46. void EnablePolicyControls (BOOL& bEnable);
  47. virtual void DoContextHelp (HWND hWndControl);
  48. virtual BOOL OnInitDialog();
  49. void EnableControls ();
  50. // Generated message map functions
  51. //{{AFX_MSG(CTemplateV2AuthenticationPropertyPage)
  52. afx_msg void OnAddApproval();
  53. afx_msg void OnRemoveApproval();
  54. afx_msg void OnChangeNumSigRequiredEdit();
  55. afx_msg void OnAllowReenrollment();
  56. afx_msg void OnPendAllRequests();
  57. afx_msg void OnSelchangeIssuancePolicies();
  58. afx_msg void OnSelchangePolicyTypes();
  59. afx_msg void OnSelchangeApplicationPolicies();
  60. afx_msg void OnDestroy();
  61. afx_msg void OnNumSigRequiredCheck();
  62. afx_msg void OnReenrollmentSameAsEnrollment();
  63. //}}AFX_MSG
  64. DECLARE_MESSAGE_MAP()
  65. private:
  66. bool& m_rbIsDirty;
  67. int m_curApplicationSel;
  68. CCertTemplate& m_rCertTemplate;
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_TEMPLATEV2AUTHENTICATIONPROPERTYPAGE_H__FA3C2A95_B56D_4948_8BB8_F825323B8C31__INCLUDED_)