home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n04 / multilin.exe / GLOBAVW.H < prev    next >
C/C++ Source or Header  |  1995-04-01  |  1KB  |  51 lines

  1. // globavw.h : interface of the CGlobalView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CGlobalView : public CView
  6. {
  7. protected: // create from serialization only
  8.     CGlobalView();
  9.     DECLARE_DYNCREATE(CGlobalView)
  10.  
  11. // Attributes
  12. public:
  13.     CGlobalDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CGlobalView)
  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 ~CGlobalView();
  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(CGlobalView)
  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 globavw.cpp
  46. inline CGlobalDoc* CGlobalView::GetDocument()
  47.    { return (CGlobalDoc*)m_pDocument; }
  48. #endif
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.