home *** CD-ROM | disk | FTP | other *** search
/ Game Audio Programming / GameAudioProgramming.iso / Game_Audio / AudioTest / MusicScript.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-07-15  |  2.1 KB  |  82 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_MUSICSCRIPT_H__67E6AD96_EBDE_41BD_A6FD_3F7F8FE788AF__INCLUDED_)
  12. #define AFX_MUSICSCRIPT_H__67E6AD96_EBDE_41BD_A6FD_3F7F8FE788AF__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // MusicScript.h : header file
  18. //
  19.  
  20. class CAudioTestDlg;
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CMusicScript dialog
  24.  
  25. class CMusicScript : public CPropertyPage
  26. {
  27.     DECLARE_DYNCREATE(CMusicScript)
  28.  
  29. // Construction
  30. public:
  31.     CMusicScript();
  32.     ~CMusicScript();
  33.  
  34. // Dialog Data
  35.     //{{AFX_DATA(CMusicScript)
  36.     enum { IDD = IDD_PROPPAGE_MUSICSCRIPT };
  37.     CListBox    m_ThemeList;
  38.     CButton    m_Stop;
  39.     CButton    m_Play;
  40.     CButton    m_Pause;
  41.     //}}AFX_DATA
  42.  
  43.  
  44. // Overrides
  45.     // ClassWizard generate virtual function overrides
  46.     //{{AFX_VIRTUAL(CMusicScript)
  47.     protected:
  48.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  49.     //}}AFX_VIRTUAL
  50.  
  51. public:
  52.     void UpdateControls();
  53.     void ClearList();
  54.     CAudioTestDlg*    m_pTestDlg;
  55.  
  56. // Implementation
  57. protected:
  58.     // Generated message map functions
  59.     //{{AFX_MSG(CMusicScript)
  60.     virtual BOOL OnInitDialog();
  61.     afx_msg void OnDestroy();
  62.     afx_msg void OnMSInitialize();
  63.     afx_msg void OnPlayMS();
  64.     afx_msg void OnPauseMS();
  65.     afx_msg void OnStopMS();
  66.     afx_msg void OnUnloadMS();
  67.     afx_msg void OnDblclkListMsSounds();
  68.     //}}AFX_MSG
  69.     DECLARE_MESSAGE_MAP()
  70.  
  71.     HICON m_hPlayIcon;
  72.     HICON m_hPauseIcon;
  73.     HICON m_hStopIcon;
  74.  
  75.     bool m_bInit;
  76. };
  77.  
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80.  
  81. #endif // !defined(AFX_MUSICSCRIPT_H__67E6AD96_EBDE_41BD_A6FD_3F7F8FE788AF__INCLUDED_)
  82.