#ifndef __OtherAppList_h
#define __OtherAppList_h

#include "resource.h"	// For ID_WINDOW_XXX.
#include "UtilWin.h"	// For FCWinTitleRecVector.etc.

// _xZkqqHx_iDiKiDfIiDgHiNmFjBoFjAjEiBeC_xHqqkZx_
#define MAX_OTHER_APP	(ID_WINDOW_ANOTHEREND - ID_WINDOW_ANOTHER1 + 1)

//----- 99.12.20 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//struct FCWinTitleRec
//{
//	FCWinTitleRec (HWND hwnd, const _TCHAR* tcp);
//	operator = (const FCWinTitleRec& rec);
//	HWND		hwndApp;
//	TCHARAuto	atpTitle;
//}; // struct FCWinTitleRec.
//
//typedef vector<FCWinTitleRec> FCWinTitleRecVector;
//----- 99.12.20 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	FCOtherAppList
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiBiDgKiDiFiBfLjCiGiCmMiBeBiBhFjBlMiCmMiDeFiDeCiDjDiDgIiDeFiBhGiCpAiKmHjHjNiClHiCoJiDeOiDiJiDfIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.18 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
class FCOtherAppList
{
public:
	FCOtherAppList ();
	~FCOtherAppList ();
	void	UpdateMenu (CCmdUI* pCmdUI);
	void	Get (HWND& hwndFrame, WString& strTitle, short nIndex) const;
//----- 99.12.20 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iImIiJlKiCmMiKnGjAjEiCmN_xHqqkZx_public_xZkqqHx_iClOiCkKiBeBjDoAjFjEjAoKjHhAiKnGjAjEiBeC_xHqqkZx_
//	void	Add (HWND hwndFrame, const _TCHAR* tcpTitle);
//	const _TCHAR*	GetFilter () const;
//----- 99.12.20 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
protected:
	void	ReadList ();

protected:
	FCWinTitleRecVector	m_vWinTitle;
	WString				m_strOriginal;	// ID_FILE_RECENT1_xZkqqHx_iCmMjGhLjHiIiCmMiDgFiDeMiDfIiDgHiBeC_xHqqkZx_
	short				m_nSize;		// _xZkqqHx_iMlLiNnNiDiBiDgKiDiFiBfLiCmJjDgPjIfOiClDiCoKiCmEiCkCiCoJ_xHqqkZx_MRH_xZkqqHx_jAjEiBeC_xHqqkZx_
}; // class FCOtherAppList.

#endif//__OtherAppList_h

