home *** CD-ROM | disk | FTP | other *** search
/ Game Audio Programming / GameAudioProgramming.iso / Game_Audio / AudioTest / CDAudio.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-05-27  |  2.1 KB  |  81 lines

  1. /***********************************************************\
  2. Copyright (C) James Boer, 2002. 
  3. All rights reserved worldwide.
  4.  
  5. This software is provided "as is" without express or implied
  6. warranties. You may freely copy and compile this source into
  7. applications you distribute provided that the copyright text
  8. below is included in the resulting source code, for example:
  9. "Portions Copyright (C) James Boer, 2002"
  10. \***********************************************************/
  11. #if !defined(AFX_CDAUDIO_H__B705D579_F2EC_4E52_AA8D_E2FD74E33F11__INCLUDED_)
  12. #define AFX_CDAUDIO_H__B705D579_F2EC_4E52_AA8D_E2FD74E33F11__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // CDAudio.h : header file
  18. //
  19.  
  20. class CAudioTestDlg;
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CCDAudio dialog
  24.  
  25. class CCDAudio : public CPropertyPage
  26. {
  27.     DECLARE_DYNCREATE(CCDAudio)
  28.  
  29. // Construction
  30. public:
  31.     CCDAudio();
  32.     ~CCDAudio();
  33.  
  34. // Dialog Data
  35.     //{{AFX_DATA(CCDAudio)
  36.     enum { IDD = IDD_PROPPAGE_CDAUDIO };
  37.     CButton    m_Looping;
  38.     CSpinButtonCtrl    m_TrackNumber;
  39.     CButton    m_Stop;
  40.     CButton    m_Pause;
  41.     CButton    m_Play;
  42.     //}}AFX_DATA
  43.  
  44.  
  45. // Overrides
  46.     // ClassWizard generate virtual function overrides
  47.     //{{AFX_VIRTUAL(CCDAudio)
  48.     protected:
  49.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50.     virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  51.     //}}AFX_VIRTUAL
  52.  
  53. public:
  54.     CAudioTestDlg*    m_pTestDlg;
  55. // Implementation
  56. protected:
  57.     // Generated message map functions
  58.     //{{AFX_MSG(CCDAudio)
  59.     virtual BOOL OnInitDialog();
  60.     afx_msg void OnDestroy();
  61.     afx_msg void OnInitPlayer();
  62.     afx_msg void OnTermPlayer();
  63.     afx_msg void OnPlayCD();
  64.     afx_msg void OnPauseCD();
  65.     afx_msg void OnStopCD();
  66.     afx_msg void OnCheckCdLooping();
  67.     //}}AFX_MSG
  68.     DECLARE_MESSAGE_MAP()
  69.  
  70.     HICON m_hPlayIcon;
  71.     HICON m_hPauseIcon;
  72.     HICON m_hStopIcon;
  73.  
  74.     bool m_bInit;
  75. };
  76.  
  77. //{{AFX_INSERT_LOCATION}}
  78. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  79.  
  80. #endif // !defined(AFX_CDAUDIO_H__B705D579_F2EC_4E52_AA8D_E2FD74E33F11__INCLUDED_)
  81.