Windows C++ Library
|
#include <MRUList.hpp>
Public Member Functions | |
CMRUList (size_t nMaxSize) | |
~CMRUList () | |
void | Add (const tchar *pszPath) |
const CString & | operator[] (size_t nIndex) const |
void | UpdateMenu (CMenu &rMenu, uint iCmdBase) |
void | Load (CIniFile &rCfgFile, const tchar *pszSection=TXT("MRU")) |
void | Save (CIniFile &rCfgFile, const tchar *pszSection=TXT("MRU")) |
void | Read (const WCL::AppConfig &appConfig, const tstring §ion=TXT("MRU")) |
Read the MRU list from the config storage. | |
void | Write (WCL::AppConfig &appConfig, const tstring §ion=TXT("MRU")) |
Write the MRU list to the config storage. | |
Protected Attributes | |
size_t | m_nMaxSize |
CStrArray | m_Paths |
CMRUList::CMRUList | ( | size_t | nMaxSize | ) |
void CMRUList::Add | ( | const tchar * | pszPath | ) |
const CString & CMRUList::operator[] | ( | size_t | nIndex | ) | const [inline] |
void CMRUList::UpdateMenu | ( | CMenu & | rMenu, |
uint | iCmdBase | ||
) |
void CMRUList::Load | ( | CIniFile & | rCfgFile, |
const tchar * | pszSection = TXT("MRU") |
||
) |
void CMRUList::Save | ( | CIniFile & | rCfgFile, |
const tchar * | pszSection = TXT("MRU") |
||
) |
void CMRUList::Read | ( | const WCL::AppConfig & | appConfig, |
const tstring & | section = TXT("MRU") |
||
) |
Read the MRU list from the config storage.
void CMRUList::Write | ( | WCL::AppConfig & | appConfig, |
const tstring & | section = TXT("MRU") |
||
) |
Write the MRU list to the config storage.
size_t CMRUList::m_nMaxSize [protected] |
CStrArray CMRUList::m_Paths [protected] |