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.

76 lines
1.9 KiB

  1. #if !defined(_GEOINFOPAGE_H)
  2. #define _GEOINFOPAGE_H
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // GeoInfoPage.h : header file
  7. //
  8. #include "CountryComboBox.h"
  9. class CCertificate;
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CGeoInfoPage dialog
  12. class CGeoInfoPage : public CIISWizardPage
  13. {
  14. DECLARE_DYNCREATE(CGeoInfoPage)
  15. // Construction
  16. public:
  17. CGeoInfoPage(CCertificate * pCert = NULL);
  18. ~CGeoInfoPage();
  19. enum
  20. {
  21. IDD_PAGE_PREV = IDD_PAGE_WIZ_SITE_NAME,
  22. IDD_PAGE_NEXT_FILE = IDD_PAGE_WIZ_CHOOSE_FILENAME,
  23. IDD_PAGE_NEXT_ONLINE = IDD_PAGE_WIZ_CHOOSE_ONLINE
  24. #ifdef ENABLE_W3SVC_SSL_PAGE
  25. ,IDD_PAGE_NEXT_INSTALL_W3SVC_ONLY = IDD_PAGE_WIZ_GET_SSL_PORT
  26. #endif
  27. };
  28. // Dialog Data
  29. //{{AFX_DATA(CGeoInfoPage)
  30. enum { IDD = IDD_PAGE_WIZ_GEO_INFO };
  31. CString m_Locality;
  32. CString m_State;
  33. CString m_Country;
  34. //}}AFX_DATA
  35. CCertificate * m_pCert;
  36. CCountryComboBox m_countryCombo;
  37. // Overrides
  38. // ClassWizard generate virtual function overrides
  39. //{{AFX_VIRTUAL(CGeoInfoPage)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. public:
  43. virtual LRESULT OnWizardNext();
  44. virtual LRESULT OnWizardPrev();
  45. virtual BOOL OnSetActive();
  46. // virtual BOOL OnKillActive();
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. void SetButtons();
  51. void GetSelectedCountry(CString& str);
  52. void SetSelectedCountry(CString& str);
  53. // Generated message map functions
  54. //{{AFX_MSG(CGeoInfoPage)
  55. virtual BOOL OnInitDialog();
  56. afx_msg void OnChangeNewkeyLocality();
  57. afx_msg void OnChangeNewkeyState();
  58. afx_msg void OnEditchangeNewkeyCountry();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(_GEOINFOPAGE_H)