#ifndef __RecentList_h
#define __RecentList_h

#include "resource.h"	// For ID_FILE_RECENT_XXX.

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	FCRecentList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLjCiGiCmMiBeBiBhFiNmFiLnPiOgHiCmBiClN_xHqqkZx_XXXX_xZkqqHx_iBhGiCpAiKmHjHjNiClHiCoJiDeOiDiJiDfIiBeC_xHqqkZx_
 *			CRecentFileList_xZkqqHx_iCmJjEoEiCnHiBeBiNlGjHjIiCkLiLeAjEfMjDjJiCkKjCmHiJmBiClDiCoKiCmEiCkCiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.21 Fukushiro M. RecentHistList_xZkqqHx_iCpAiMlDiCmJiNoMjAkMiBeC_xHqqkZx_
 *************************************************************************/
class FCRecentList
{
public:
	static WString	AbbreviatePath (const wchar_t* wcpPath);
	static long GetCount ();
	static void	Add (const wchar_t* wcpShortTitle,
					 const wchar_t* wcpLongTitle,
					 const wchar_t* wcpData1 = NULL,
					 const wchar_t* wcpData2 = NULL,
					 const wchar_t* wcpData3 = NULL,
					 const wchar_t* wcpData4 = NULL,
					 const wchar_t* wcpData5 = NULL);
	static void	Get (short nIndex,
					 WString* wstrpShortTitle,
					 WString* wstrpLongTitle,
					 WString* wstrpData1 = NULL,
					 WString* wstrpData2 = NULL,
					 WString* wstrpData3 = NULL,
					 WString* wstrpData4 = NULL,
					 WString* wstrpData5 = NULL);
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	static void	Del (const wchar_t* wcpShortTitle = NULL,
//					 const wchar_t* wcpLongTitle = NULL,
//					 const wchar_t* wcpData1 = NULL,
//					 const wchar_t* wcpData2 = NULL,
//					 const wchar_t* wcpData3 = NULL,
//					 const wchar_t* wcpData4 = NULL);
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	static void	Del (short nIndex);
//----- 06.03.09 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	static short Find (	const wchar_t* wcpShortTitle = NULL,
						const wchar_t* wcpLongTitle = NULL,
						const wchar_t* wcpData1 = NULL,
						const wchar_t* wcpData2 = NULL,
						const wchar_t* wcpData3 = NULL,
						const wchar_t* wcpData4 = NULL,
						const wchar_t* wcpData5 = NULL);

	static void	UpdateMenu (CCmdUI* pCmdUI, BOOL bLeftHanded);
}; // class FCRecentList.

#endif//__RecentList_h

