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.

64 lines
1.8 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997-2001.
  5. //
  6. // File: ACRSPSht.h
  7. //
  8. // Contents:
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_ACRSPSHT_H__98CAC389_7325_11D1_85D4_00C04FB94F17__INCLUDED_)
  12. #define AFX_ACRSPSHT_H__98CAC389_7325_11D1_85D4_00C04FB94F17__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. // ACRSPSht.h : header file
  17. //
  18. #include "cookie.h"
  19. #include "AutoCert.h"
  20. #include "Wiz97Sht.h"
  21. /////////////////////////////////////////////////////////////////////////////
  22. // ACRSWizardPropertySheet
  23. class CCertStoreGPE; // forward definition
  24. class ACRSWizardPropertySheet : public CWizard97PropertySheet
  25. {
  26. // Construction
  27. public:
  28. ACRSWizardPropertySheet(CCertStoreGPE* pCertStore, CAutoCertRequest* pACR);
  29. // Attributes
  30. public:
  31. // Operations
  32. public:
  33. // Implementation
  34. public:
  35. bool m_bEditModeDirty; // relevant only when editing, tells us if any changes were made.
  36. // If not, nothing happens when Finish is pressed.
  37. CAutoCertRequest* GetACR();
  38. CCertStoreGPE* m_pCertStore;
  39. HCERTTYPE m_selectedCertType;
  40. void SetDirty ();
  41. void MarkAsClean ();
  42. bool IsDirty ();
  43. virtual ~ACRSWizardPropertySheet();
  44. CTypedPtrList<CPtrList, HCAINFO> m_caInfoList;
  45. // Generated message map functions
  46. private:
  47. CAutoCertRequest* m_pACR; // only set in 'edit' mode
  48. bool m_bDirty; // used to know if it is necessary to re-enumerate the CAs
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_ACRSPSHT_H__98CAC389_7325_11D1_85D4_00C04FB94F17__INCLUDED_)