| 29 | #pragma once |
| 30 | |
| 31 | class RecentItems |
| 32 | { |
| 33 | private: |
| 34 | CString m_section; |
| 35 | CString m_base; |
| 36 | int m_count; |
| 37 | private: |
| 38 | void AppendIndex(CString& str, int index); |
| 39 | public: |
| 40 | // disallow copying |
| 41 | RecentItems(RecentItems const&) = delete; |
| 42 | void operator=(RecentItems const&) = delete; |
| 43 | |
| 44 | RecentItems(LPCTSTR section, LPCTSTR base, int count); |
| 45 | void Add(LPCTSTR item); |
| 46 | void Populate(CString *items, LPCTSTR initial_default = NULL); |
| 47 | virtual ~RecentItems(void); |
| 48 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected