home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / mfcvw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-26  |  1.7 KB  |  62 lines

  1. //==========================================================================;
  2. //
  3. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. //  PURPOSE.
  7. //
  8. //  Copyright (c) 1992 - 1996  Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. // playvw.h : interface of the CPlayerView class
  13. //
  14. /////////////////////////////////////////////////////////////////////////////
  15.  
  16. class CPlayerView : public CView
  17. {
  18. protected: // create from serialization only
  19.     CPlayerView();
  20.     DECLARE_DYNCREATE(CPlayerView)
  21.  
  22. // Attributes
  23. public:
  24.     CPlayerDoc* GetDocument();
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CPlayerView)
  32.     public:
  33.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  34.     protected:
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     virtual ~CPlayerView();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CPlayerView)
  50.         // NOTE - the ClassWizard will add and remove member functions here.
  51.         //    DO NOT EDIT what you see in these blocks of generated code !
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. #ifndef _DEBUG  // debug version in playvw.cpp
  57. inline CPlayerDoc* CPlayerView::GetDocument()
  58.    { return (CPlayerDoc*)m_pDocument; }
  59. #endif
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62.