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.

116 lines
2.9 KiB

  1. // ChooseServerPages.h: interface for the CChooseServerPages class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CHOOSESERVERPAGES_H__CB354F31_7FB7_4909_B605_F5F8B037914C__INCLUDED_)
  5. #define AFX_CHOOSESERVERPAGES_H__CB354F31_7FB7_4909_B605_F5F8B037914C__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CChooseServerPages dialog
  11. class CCertificate;
  12. class CChooseServerPages : public CIISWizardPage
  13. {
  14. DECLARE_DYNCREATE(CChooseServerPages)
  15. // Construction
  16. public:
  17. CChooseServerPages(CCertificate * pCert = NULL);
  18. ~CChooseServerPages();
  19. enum
  20. {
  21. IDD_PAGE_PREV = IDD_PAGE_WIZ_CHOOSE_COPY_MOVE_FROM_REMOTE,
  22. IDD_PAGE_NEXT = IDD_PAGE_WIZ_CHOOSE_SERVER_SITE
  23. };
  24. // Dialog Data
  25. //{{AFX_DATA(CChooseServerPages)
  26. enum { IDD = IDD_PAGE_WIZ_CHOOSE_SERVER };
  27. CString m_ServerName;
  28. CString m_UserName;
  29. CString m_UserPassword;
  30. //}}AFX_DATA
  31. CCertificate * m_pCert;
  32. // Overrides
  33. // ClassWizard generate virtual function overrides
  34. //{{AFX_VIRTUAL(CChooseServerPages)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. public:
  38. virtual LRESULT OnWizardNext();
  39. virtual LRESULT OnWizardBack();
  40. virtual BOOL OnSetActive();
  41. virtual BOOL OnKillActive();
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CChooseServerPages)
  47. afx_msg void OnEditchangeServerName();
  48. afx_msg void OnEditchangeUserName();
  49. afx_msg void OnEditchangeUserPassword();
  50. afx_msg void OnBrowseForMachine();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. class CChooseServerPagesTo : public CIISWizardPage
  55. {
  56. DECLARE_DYNCREATE(CChooseServerPagesTo)
  57. // Construction
  58. public:
  59. CChooseServerPagesTo(CCertificate * pCert = NULL);
  60. ~CChooseServerPagesTo();
  61. enum
  62. {
  63. IDD_PAGE_PREV = IDD_PAGE_WIZ_CHOOSE_COPY_MOVE_TO_REMOTE,
  64. IDD_PAGE_NEXT = IDD_PAGE_WIZ_CHOOSE_SERVER_SITE_TO
  65. };
  66. // Dialog Data
  67. //{{AFX_DATA(CChooseServerPagesTo)
  68. enum { IDD = IDD_PAGE_WIZ_CHOOSE_SERVER_TO };
  69. CString m_ServerName;
  70. CString m_UserName;
  71. CString m_UserPassword;
  72. //}}AFX_DATA
  73. CCertificate * m_pCert;
  74. // Overrides
  75. // ClassWizard generate virtual function overrides
  76. //{{AFX_VIRTUAL(CChooseServerPagesTo)
  77. protected:
  78. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  79. public:
  80. virtual LRESULT OnWizardNext();
  81. virtual LRESULT OnWizardBack();
  82. virtual BOOL OnSetActive();
  83. virtual BOOL OnKillActive();
  84. //}}AFX_VIRTUAL
  85. // Implementation
  86. protected:
  87. // Generated message map functions
  88. //{{AFX_MSG(CChooseServerPagesTo)
  89. afx_msg void OnEditchangeServerName();
  90. afx_msg void OnEditchangeUserName();
  91. afx_msg void OnEditchangeUserPassword();
  92. afx_msg void OnBrowseForMachine();
  93. //}}AFX_MSG
  94. DECLARE_MESSAGE_MAP()
  95. };
  96. #endif // !defined(AFX_CHOOSESERVERPAGES_H__CB354F31_7FB7_4909_B605_F5F8B037914C__INCLUDED_)