home *** CD-ROM | disk | FTP | other *** search
/ Game Audio Programming / GameAudioProgramming.iso / Game_Audio / AudioTest / SegmentOpen.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-05-27  |  1.7 KB  |  51 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_SEGMENTOPEN_H__5CAE5B27_5A8B_4654_9529_C8E26EE1274A__INCLUDED_)
  12. #define AFX_SEGMENTOPEN_H__5CAE5B27_5A8B_4654_9529_C8E26EE1274A__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // SegmentOpen.h : header file
  18. //
  19.  
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CSoundOpen dialog
  22.  
  23. class CSegmentOpen : public CFileDialog
  24. {
  25.     DECLARE_DYNAMIC(CSegmentOpen)
  26.  
  27. public:
  28.     CSegmentOpen(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
  29.         LPCTSTR lpszDefExt = NULL,
  30.         LPCTSTR lpszFileName = NULL,
  31.         DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
  32.         LPCTSTR lpszFilter = "Segment Files (.sgt)|*.sgt|All Files (*.*)|*.*||",
  33.         CWnd* pParentWnd = NULL);
  34.     virtual ~CSegmentOpen();
  35.  
  36.     bool m_bLooping;
  37.     bool m_bSoundFX;
  38.     virtual BOOL OnFileNameOK();
  39.  
  40. protected:
  41.     //{{AFX_MSG(CSoundOpen)
  42.         // NOTE - the ClassWizard will add and remove member functions here.
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49.  
  50. #endif // !defined(AFX_SEGMENTOPEN_H__5CAE5B27_5A8B_4654_9529_C8E26EE1274A__INCLUDED_)
  51.