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.

109 lines
2.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: pgsrvs.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #if !defined(AFX_PGSRVS_H__2D9AC0D4_4CC3_11D2_97A3_00C04FC31FD3__INCLUDED_)
  11. #define AFX_PGSRVS_H__2D9AC0D4_4CC3_11D2_97A3_00C04FC31FD3__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. // PgSrvs.h : header file
  16. //
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CPgServers dialog
  19. class CPgServers : public CACSPage
  20. {
  21. DECLARE_DYNCREATE(CPgServers)
  22. // Construction
  23. public:
  24. CPgServers();
  25. CPgServers(CACSSubnetConfig* pConfig);
  26. ~CPgServers();
  27. void DataInit();
  28. // Dialog Data
  29. //{{AFX_DATA(CPgServers)
  30. enum { IDD = IDD_SERVERS };
  31. // NOTE - ClassWizard will add data members here.
  32. // DO NOT EDIT what you see in these blocks of generated code !
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(CPgServers)
  37. public:
  38. virtual BOOL OnApply();
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. // Generated message map functions
  45. //{{AFX_MSG(CPgServers)
  46. afx_msg void OnServersAdd();
  47. afx_msg void OnServersInstall();
  48. afx_msg void OnServersRemove();
  49. virtual BOOL OnInitDialog();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. CStrArray m_aServers;
  53. CStrBox<CListBox>* m_pServers;
  54. CComPtr<CACSSubnetConfig> m_spConfig;
  55. };
  56. /////////////////////////////////////////////////////////////////////////////
  57. // CDlgPasswd dialog
  58. class CDlgPasswd : public CACSDialog // public CDialog
  59. {
  60. DECLARE_DYNCREATE(CDlgPasswd)
  61. // Construction
  62. public:
  63. CDlgPasswd(CWnd* pParent = NULL); // standard constructor
  64. public:
  65. // Dialog Data
  66. //{{AFX_DATA(CDlgPasswd)
  67. enum { IDD = IDD_USERPASSWD };
  68. CString m_strPasswd;
  69. CString m_strMachine;
  70. CString m_strPasswd2;
  71. CString m_strDomain;
  72. //}}AFX_DATA
  73. // Overrides
  74. // ClassWizard generated virtual function overrides
  75. //{{AFX_VIRTUAL(CDlgPasswd)
  76. protected:
  77. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  78. //}}AFX_VIRTUAL
  79. // Implementation
  80. protected:
  81. // CDlgPasswd();
  82. // Generated message map functions
  83. //{{AFX_MSG(CDlgPasswd)
  84. virtual void OnOK();
  85. //}}AFX_MSG
  86. DECLARE_MESSAGE_MAP()
  87. };
  88. //{{AFX_INSERT_LOCATION}}
  89. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  90. #endif // !defined(AFX_PGSRVS_H__2D9AC0D4_4CC3_11D2_97A3_00C04FC31FD3__INCLUDED_)