#ifndef __UtilVersion_h
#define __UtilVersion_h

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	MC2HeaderInf
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDhHiDgCiDfPiPoOjFpBiCpAjEfLiCnPiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.06.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			00.02.04 Fukushiro M. _xZkqqHx_iKgHjCkD_xHqqkZx_
 *************************************************************************/
class MC2HeaderInf
{
public:
	MC2HeaderInf ();
	void	InStream (MC2ARCHIVE& ar);
	void	OutStream (MC2ARCHIVE& ar) const;
	WORD	GetFileVersion () const;
	void	SetFileType (FTDocumentFormat df);

	static WString	FileVersionToString (WORD wVersion);

protected:
	WORD		m_wAppVersion;	// _xZkqqHx_iDeBiDhGiDiKiDgPiBfLiDfHiDiHiDjDiBeC_xHqqkZx_
	BYTE		m_byPlatform;	// _xZkqqHx_iDhGiDiJiDgCiDgHiDhKiBfLiDiAiBeC_xHqqkZx_
	BYTE		m_byFileType;	// _xZkqqHx_iDhEiDeAiDeDiDiLiDfOiDeDiDhGiBeC_xHqqkZx_
	WORD		m_wFileVersion;	// _xZkqqHx_iDhEiDeAiDeDiDiLiDgPiBfLiDfHiDiHiDjDiBeC_xHqqkZx_
	time_t		m_tmCreate;		// _xZkqqHx_iNoMjAkMjDpKiOjOiBeC_xHqqkZx_
	time_t		m_tmUpdate;		// _xZkqqHx_iNfIjAfGjDpKiOjOiBeC_xHqqkZx_
}; // class MC2HeaderInf.

#endif//__UtilVersion_h

