WaveOpen.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. #if !defined(AFX_WAVEOPEN_H__0FB9DA11_EB02_11D2_A50A_0020AFEB881A__INCLUDED_)
  19. #define AFX_WAVEOPEN_H__0FB9DA11_EB02_11D2_A50A_0020AFEB881A__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. // WaveOpen.h : header file
  24. //
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CWaveOpen dialog
  27. class CWaveOpen : public CFileDialog
  28. {
  29. DECLARE_DYNAMIC(CWaveOpen)
  30. public:
  31. CWaveOpen(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
  32. LPCTSTR lpszDefExt = NULL,
  33. LPCTSTR lpszFileName = NULL,
  34. DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
  35. LPCTSTR lpszFilter = NULL,
  36. CWnd* pParentWnd = NULL);
  37. virtual void OnFileNameChange( );
  38. protected:
  39. //{{AFX_MSG(CWaveOpen)
  40. afx_msg void OnBtnPlay();
  41. virtual BOOL OnInitDialog();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_WAVEOPEN_H__0FB9DA11_EB02_11D2_A50A_0020AFEB881A__INCLUDED_)