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_VMSSTRINGRECENTLIST_H__96BB04B7_84A0_41F8_9862_9D05601C5912__INCLUDED_) 00007 #define AFX_VMSSTRINGRECENTLIST_H__96BB04B7_84A0_41F8_9862_9D05601C5912__INCLUDED_ 00008 00009 #include "vmsStringList.h" 00010 #if _MSC_VER > 1000 00011 #pragma once 00012 #endif 00013 00014 class vmsStringRecentList 00015 { 00016 public: 00017 BOOL Load (HANDLE hFile); 00018 BOOL Save (HANDLE hFile); 00019 void Clear(); 00020 LPCSTR get_String (int nIndex) const; 00021 int get_Count () const; 00022 void Add(LPCSTR psz); 00023 vmsStringRecentList(); 00024 virtual ~vmsStringRecentList(); 00025 00026 protected: 00027 int m_nMaxEntries; 00028 vmsStringList m_vList; 00029 }; 00030 00031 #endif
1.5.6