Quake-III-Arena

Quake III Arena GPL Source Release
Log | Files | Refs

WaveOpen.h (1999B)


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