Windows C++ Library
Public Member Functions | Protected Attributes
CMRUList Class Reference

#include <MRUList.hpp>

List of all members.

Public Member Functions

 CMRUList (size_t nMaxSize)
 ~CMRUList ()
void Add (const tchar *pszPath)
const CStringoperator[] (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 &section=TXT("MRU"))
 Read the MRU list from the config storage.
void Write (WCL::AppConfig &appConfig, const tstring &section=TXT("MRU"))
 Write the MRU list to the config storage.

Protected Attributes

size_t m_nMaxSize
CStrArray m_Paths

Constructor & Destructor Documentation

CMRUList::CMRUList ( size_t  nMaxSize)

Member Function Documentation

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.


Member Data Documentation

size_t CMRUList::m_nMaxSize [protected]

The documentation for this class was generated from the following files: