//==========================================================================; // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR // PURPOSE. // // Copyright (c) 1992 - 1998 Microsoft Corporation. All Rights Reserved. // //--------------------------------------------------------------------------; // // playvw.h : interface of the CPlayerView class // ///////////////////////////////////////////////////////////////////////////// class CPlayerView : public CView { protected: // create from serialization only CPlayerView(); DECLARE_DYNCREATE(CPlayerView) // Attributes public: CPlayerDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPlayerView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view protected: //}}AFX_VIRTUAL // Implementation public: virtual ~CPlayerView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CPlayerView) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in playvw.cpp inline CPlayerDoc* CPlayerView::GetDocument() { return (CPlayerDoc*)m_pDocument; } #endif /////////////////////////////////////////////////////////////////////////////