00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_VMSFILERECENTLIST_H__A4B7CD08_47AB_4114_8532_B8287C88932C__INCLUDED_) 00007 #define AFX_VMSFILERECENTLIST_H__A4B7CD08_47AB_4114_8532_B8287C88932C__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 class vmsFileRecentList 00014 { 00015 public: 00016 00017 int get_Count () const; 00018 00019 LPCSTR get_FilePathName(int nIndex) const; 00020 00021 LPCSTR get_FileDispName (int nIndex) const; 00022 00023 void Clear(); 00024 00025 BOOL Load (HANDLE hFile); 00026 BOOL Save (HANDLE hFile); 00027 00028 void Add (LPCSTR pszFileDispName, LPCSTR pszFilePathName); 00029 00030 vmsFileRecentList(); 00031 virtual ~vmsFileRecentList(); 00032 00033 protected: 00034 struct _inc_FileInfo 00035 { 00036 fsString strPathName; 00037 fsString strDispName; 00038 }; 00039 00040 std::vector <_inc_FileInfo> m_vList; 00041 00042 int m_nMaxEntries; 00043 }; 00044 00045 #endif
1.5.6