1 // $Id: mru.h,v 1.1 2002/05/29 22:06:50 nedko Exp $
4 // Copyright (C) 2000,2001,2002 Nedko Arnaudov <nedko@users.sourceforge.net>
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef MRU_H__fa247b99_e1f7_4216_a9e6_16b96fd237a7__INCLUDED
21 #define MRU_H__fa247b99_e1f7_4216_a9e6_16b96fd237a7__INCLUDED
26 CMRUList(unsigned int nMaxEntries
, LPCTSTR psz_HKCU_MRUKey
, HRESULT
& rhr
);
29 HRESULT
Add(LPCTSTR pszEntry
);
30 unsigned int GetCount();
31 LPCTSTR
GetEntry(unsigned int nIndex
);
34 HRESULT
WriteToRegistry();
37 unsigned int m_nCount
;
38 unsigned int m_nMaxEntries
;
42 #endif // #ifndef MRU_H__fa247b99_e1f7_4216_a9e6_16b96fd237a7__INCLUDED