home *** CD-ROM | disk | FTP | other *** search
/ Game Audio Programming / GameAudioProgramming.iso / Game_Audio / AudioTest / Listener.h < prev    next >
C/C++ Source or Header  |  2002-06-29  |  2KB  |  74 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_LISTENER_H__D3BF7B9A_C3AF_42DF_8371_FE17BAD5EC05__INCLUDED_)
  12. #define AFX_LISTENER_H__D3BF7B9A_C3AF_42DF_8371_FE17BAD5EC05__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // Listener.h : header file
  18. //
  19. #include "Audio.h"
  20.  
  21. class CAudioTestDlg;
  22.  
  23. class Audio::IListener;
  24.  
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CListener dialog
  28.  
  29. class CListener : public CPropertyPage
  30. {
  31.     DECLARE_DYNCREATE(CListener)
  32.  
  33. // Construction
  34. public:
  35.     CListener();
  36.     ~CListener();
  37.  
  38. // Dialog Data
  39.     //{{AFX_DATA(CListener)
  40.     enum { IDD = IDD_PROPPAGE_LISTENER };
  41.     CSliderCtrl    m_ZPos;
  42.     CSliderCtrl    m_YPos;
  43.     CSliderCtrl    m_XPos;
  44.     //}}AFX_DATA
  45.  
  46.  
  47. // Overrides
  48.     // ClassWizard generate virtual function overrides
  49.     //{{AFX_VIRTUAL(CListener)
  50.     protected:
  51.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  52.     //}}AFX_VIRTUAL
  53.  
  54. public:
  55.     CAudioTestDlg*    m_pTestDlg;
  56. // Implementation
  57. protected:
  58.     // Generated message map functions
  59.     //{{AFX_MSG(CListener)
  60.     virtual BOOL OnInitDialog();
  61.     afx_msg void OnDestroy();
  62.     afx_msg void OnListenerEAX();
  63.     afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  64.     //}}AFX_MSG
  65.     DECLARE_MESSAGE_MAP()
  66.  
  67.     Audio::IListener*    m_pListener;
  68. };
  69.  
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72.  
  73. #endif // !defined(AFX_LISTENER_H__D3BF7B9A_C3AF_42DF_8371_FE17BAD5EC05__INCLUDED_)
  74.