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.

64 lines
1.6 KiB

  1. // hostView.h : interface of the CHostView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_HOSTVIEW_H__C02F0896_31D8_47D6_B021_A2A0DA9F6483__INCLUDED_)
  5. #define AFX_HOSTVIEW_H__C02F0896_31D8_47D6_B021_A2A0DA9F6483__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CHostView : public CView
  10. {
  11. protected: // create from serialization only
  12. CHostView();
  13. DECLARE_DYNCREATE(CHostView)
  14. // Attributes
  15. public:
  16. CHostDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CHostView)
  22. public:
  23. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CHostView();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. protected:
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CHostView)
  38. // NOTE - the ClassWizard will add and remove member functions here.
  39. // DO NOT EDIT what you see in these blocks of generated code !
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. #ifndef _DEBUG // debug version in hostView.cpp
  44. inline CHostDoc* CHostView::GetDocument()
  45. { return (CHostDoc*)m_pDocument; }
  46. #endif
  47. /////////////////////////////////////////////////////////////////////////////
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_HOSTVIEW_H__C02F0896_31D8_47D6_B021_A2A0DA9F6483__INCLUDED_)