#include <vmsFileRecentList.h>
Public Member Functions | |
| int | get_Count () const |
| LPCSTR | get_FilePathName (int nIndex) const |
| LPCSTR | get_FileDispName (int nIndex) const |
| void | Clear () |
| BOOL | Load (HANDLE hFile) |
| BOOL | Save (HANDLE hFile) |
| void | Add (LPCSTR pszFileDispName, LPCSTR pszFilePathName) |
| vmsFileRecentList () | |
| virtual | ~vmsFileRecentList () |
Protected Attributes | |
| std::vector< _inc_FileInfo > | m_vList |
| int | m_nMaxEntries |
Classes | |
| struct | _inc_FileInfo |
Definition at line 13 of file vmsFileRecentList.h.
| vmsFileRecentList::vmsFileRecentList | ( | ) |
| vmsFileRecentList::~vmsFileRecentList | ( | ) | [virtual] |
Definition at line 21 of file vmsFileRecentList.cpp.
| int vmsFileRecentList::get_Count | ( | ) | const |
Definition at line 117 of file vmsFileRecentList.cpp.
References m_vList.
Referenced by CMainFrame::OnUpdateLdf0(), CMainFrame::OnUpdateLdfClear(), and CMainFrame::ShowTrayMenu().
| LPCSTR vmsFileRecentList::get_FilePathName | ( | int | nIndex | ) | const |
Definition at line 112 of file vmsFileRecentList.cpp.
References m_vList.
Referenced by CMainFrame::OnLDF(), and Save().
| LPCSTR vmsFileRecentList::get_FileDispName | ( | int | nIndex | ) | const |
Definition at line 107 of file vmsFileRecentList.cpp.
References m_vList.
Referenced by Save(), and CMainFrame::ShowTrayMenu().
| void vmsFileRecentList::Clear | ( | ) |
Definition at line 102 of file vmsFileRecentList.cpp.
References m_vList.
Referenced by fsDownloadsMgr::LastFilesDownloaded_Clear(), and Load().
| BOOL vmsFileRecentList::Load | ( | HANDLE | hFile | ) |
Definition at line 73 of file vmsFileRecentList.cpp.
References Add(), c, Clear(), FALSE, fsReadStrFromFile(), LPSTR, NULL, and TRUE.
Referenced by fsDownloadsMgr::LoadStateInformation().
| BOOL vmsFileRecentList::Save | ( | HANDLE | hFile | ) |
Definition at line 52 of file vmsFileRecentList.cpp.
References c, FALSE, fsSaveStrToFile(), get_FileDispName(), get_FilePathName(), m_vList, NULL, and TRUE.
Referenced by fsDownloadsMgr::SaveStateInformation().
Definition at line 26 of file vmsFileRecentList.cpp.
References m_nMaxEntries, m_vList, vmsFileRecentList::_inc_FileInfo::strDispName, and vmsFileRecentList::_inc_FileInfo::strPathName.
Referenced by Load(), fsDownloadsMgr::LoadStateInformation(), and fsDownloadsMgr::OnDownloadStoppedOrDone().
std::vector<_inc_FileInfo> vmsFileRecentList::m_vList [protected] |
Definition at line 40 of file vmsFileRecentList.h.
Referenced by Add(), Clear(), get_Count(), get_FileDispName(), get_FilePathName(), and Save().
int vmsFileRecentList::m_nMaxEntries [protected] |
1.5.6