home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / mycalvw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-16  |  1.2 KB  |  51 lines

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