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.

99 lines
2.2 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1998 - 1999
  4. Module Name:
  5. IASIPEditorPage.h
  6. Abstract:
  7. Declaration of the IPEditorPage class.
  8. This page allows the user to edit an IPv4 attribute.
  9. See IASIPEditorPage.cpp for implementation.
  10. Revision History:
  11. mmaguire 06/25/98 - revised Baogang Yao's original implementation
  12. --*/
  13. //////////////////////////////////////////////////////////////////////////////
  14. #if !defined(_IP_ATTRIBUTE_EDITOR_PAGE_H_)
  15. #define _IP_ATTRIBUTE_EDITOR_PAGE_H_
  16. //////////////////////////////////////////////////////////////////////////////
  17. // BEGIN INCLUDES
  18. //
  19. // where we can find what this class derives from:
  20. //
  21. //
  22. // where we can find what this class has or uses:
  23. //
  24. //
  25. // END INCLUDES
  26. //////////////////////////////////////////////////////////////////////////////
  27. #if _MSC_VER >= 1000
  28. #pragma once
  29. #endif // _MSC_VER >= 1000
  30. // IPEditorPage.h : header file
  31. //
  32. #include "dlgcshlp.h"
  33. /////////////////////////////////////////////////////////////////////////////
  34. // IPEditorPage dialog
  35. class IPEditorPage : public CHelpDialog
  36. {
  37. DECLARE_DYNCREATE(IPEditorPage)
  38. // Construction
  39. public:
  40. IPEditorPage();
  41. ~IPEditorPage();
  42. // Dialog Data
  43. //{{AFX_DATA(IPEditorPage)
  44. enum { IDD = IDD_IAS_IPADDR_ATTR };
  45. ::CString m_strAttrFormat;
  46. ::CString m_strAttrName;
  47. ::CString m_strAttrType;
  48. //}}AFX_DATA
  49. // Overrides
  50. // ClassWizard generate virtual function overrides
  51. //{{AFX_VIRTUAL(IPEditorPage)
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  54. //}}AFX_VIRTUAL
  55. public:
  56. DWORD m_dwIpAddr; // ip address
  57. BOOL m_fIpAddrPreSet; // is the IP Address preset?
  58. // Implementation
  59. protected:
  60. // Generated message map functions
  61. //{{AFX_MSG(IPEditorPage)
  62. // afx_msg void OnContextMenu(CWnd* pWnd, ::CPoint point);
  63. // afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  64. //}}AFX_MSG
  65. DECLARE_MESSAGE_MAP()
  66. };
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  69. #endif // _IP_ATTRIBUTE_EDITOR_PAGE_H_