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.

98 lines
2.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1999 - 1999 **/
  4. /**********************************************************************/
  5. /*
  6. bootppp.h
  7. The bootp properties page
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_BOOTPPP_H__A1A51386_AAB3_11D0_AB8B_00C04FC3357A__INCLUDED_)
  11. #define AFX_BOOTPPP_H__A1A51386_AAB3_11D0_AB8B_00C04FC3357A__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CBootpPropGeneral dialog
  17. class CBootpPropGeneral : public CPropertyPageBase
  18. {
  19. DECLARE_DYNCREATE(CBootpPropGeneral)
  20. // Construction
  21. public:
  22. CBootpPropGeneral();
  23. ~CBootpPropGeneral();
  24. // Dialog Data
  25. //{{AFX_DATA(CBootpPropGeneral)
  26. enum { IDD = IDP_BOOTP_GENERAL };
  27. CString m_strFileName;
  28. CString m_strFileServer;
  29. CString m_strImageName;
  30. //}}AFX_DATA
  31. virtual BOOL OnPropertyChange(BOOL bScope, LONG_PTR *ChangeMask);
  32. // Context Help Support
  33. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CBootpPropGeneral::IDD); }
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(CBootpPropGeneral)
  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(CBootpPropGeneral)
  46. afx_msg void OnChangeEditBootpFileName();
  47. afx_msg void OnChangeEditBootpFileServer();
  48. afx_msg void OnChangeEditBootpImageName();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. public:
  52. };
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  55. //}}AFX
  56. class CBootpProperties : public CPropertyPageHolderBase
  57. {
  58. friend class CBootpPropGeneral;
  59. public:
  60. CBootpProperties(ITFSNode * pNode,
  61. IComponentData * pComponentData,
  62. ITFSComponentData * pTFSCompData,
  63. LPCTSTR pszSheetName);
  64. virtual ~CBootpProperties();
  65. ITFSComponentData * GetTFSCompData()
  66. {
  67. if (m_spTFSCompData)
  68. m_spTFSCompData->AddRef();
  69. return m_spTFSCompData;
  70. }
  71. public:
  72. CBootpPropGeneral m_pageGeneral;
  73. protected:
  74. SPITFSComponentData m_spTFSCompData;
  75. };
  76. #endif // !defined(AFX_BOOTPPP_H__A1A51386_AAB3_11D0_AB8B_00C04FC3357A__INCLUDED_)