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.

78 lines
2.0 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. Classes.h
  7. This file contains all of the prototypes for the
  8. option class dialog.
  9. FILE HISTORY:
  10. */
  11. #if !defined _CLASSES_H
  12. #define _CLASSES_H
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #ifndef _CLASSMOD_H
  17. #include "classmod.h"
  18. #endif
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDhcpClasses dialog
  21. class CDhcpClasses : public CBaseDialog
  22. {
  23. // Construction
  24. public:
  25. CDhcpClasses(CClassInfoArray * pClassArray, LPCTSTR pszServer, DWORD dwType, CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CDhcpClasses)
  28. enum { IDD = IDD_CLASSES };
  29. // NOTE: the ClassWizard will add data members here
  30. //}}AFX_DATA
  31. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CDhcpClasses::IDD); }
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CDhcpClasses)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CDhcpClasses)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnButtonDelete();
  44. afx_msg void OnButtonEdit();
  45. afx_msg void OnButtonNew();
  46. virtual void OnOK();
  47. afx_msg void OnItemchangedListClasses(NMHDR* pNMHDR, LRESULT* pResult);
  48. afx_msg void OnDblclkListClasses(NMHDR* pNMHDR, LRESULT* pResult);
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. void UpdateList();
  52. void UpdateButtons();
  53. protected:
  54. CClassInfoArray * m_pClassInfoArray;
  55. CString m_strServer;
  56. DWORD m_dwType;
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_CLASSES_H__3995264E_96A1_11D1_93E0_00C04FC3357A__INCLUDED_)