home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 11 Learning / 01 Manslow / GAPBILExample / GAPBILExampleView.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-07  |  1.3 KB  |  55 lines

  1. //GAPBILExample
  2. //Copyright John Manslow
  3. //29/09/2001
  4.  
  5. // GAPBILExampleView.h : interface of the CGAPBILExampleView class
  6. //
  7. /////////////////////////////////////////////////////////////////////////////
  8.  
  9. class CGAPBILExampleView : public CView
  10. {
  11. protected: // create from serialization only
  12.     CGAPBILExampleView();
  13.     DECLARE_DYNCREATE(CGAPBILExampleView)
  14.  
  15. // Attributes
  16. public:
  17.     CGAPBILExampleDoc* GetDocument();
  18.  
  19. // Operations
  20. public:
  21.  
  22. // Overrides
  23.     // ClassWizard generated virtual function overrides
  24.     //{{AFX_VIRTUAL(CGAPBILExampleView)
  25.     public:
  26.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  27.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  28.     protected:
  29.     //}}AFX_VIRTUAL
  30.  
  31. // Implementation
  32. public:
  33.     virtual ~CGAPBILExampleView();
  34. #ifdef _DEBUG
  35.     virtual void AssertValid() const;
  36.     virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38.  
  39. protected:
  40.  
  41. // Generated message map functions
  42. protected:
  43.     //{{AFX_MSG(CGAPBILExampleView)
  44.     afx_msg void OnTimer(UINT nIDEvent);
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49. #ifndef _DEBUG  // debug version in GAPBILExampleView.cpp
  50. inline CGAPBILExampleDoc* CGAPBILExampleView::GetDocument()
  51.    { return (CGAPBILExampleDoc*)m_pDocument; }
  52. #endif
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.