// FdbSaveTemplate.h : _xZkqqHx_iDhHiDgCiDfPiBfL_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#ifndef __FdbSaveTemplate_h
#define __FdbSaveTemplate_h

#include "FileDialogBase.h"		// For Superclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS FCFileDialogBase

/////////////////////////////////////////////////////////////////////////////
// FCFdbSaveTemplate _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

class FCFdbSaveTemplate : public SUPER_CLASS
{
protected:
typedef SUPER_CLASS BASE_CLASS;

public:
	FCFdbSaveTemplate(	const wchar_t* wcpDefExt = NULL,
						const wchar_t* wcpFileName = NULL,
						DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
						const wchar_t* wcpFilter = NULL,
						HWND hwndParent = NULL,
						const wchar_t* wcpTitle = NULL);

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	BOOL	GetIsSaveObject () const;
	BOOL	GetIsSaveChip () const;

protected:
	virtual BOOL	OnInitDialog ();
	virtual void	OnOK ();
	virtual void	OnFileTypeChanged (long lFilterIndex);
	virtual void	UpdateActivate ();

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
private:
	BOOL	m_bIsSaveObject;
	BOOL	m_bIsSaveChip;
}; // class FCFdbSaveTemplate.

#endif//__FdbSaveTemplate_h
