PlayWaveView.h
上传用户:sdpcwz
上传日期:2009-12-14
资源大小:1237k
文件大小:2k
源码类别:

书籍源码

开发平台:

Visual C++

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