6
#ifndef __RECENT_FILES_MANAGER_H__
7
#define __RECENT_FILES_MANAGER_H__
13
class RecentFilesManager :
14
public MyGUI::Singleton<RecentFilesManager>
17
typedef std::vector<MyGUI::UString> VectorUString;
20
virtual ~RecentFilesManager();
25
void addRecentFolder(const MyGUI::UString& _folder);
26
const VectorUString& getRecentFolders() const;
28
void setRecentFolder(const MyGUI::UString& _value);
29
const MyGUI::UString& getRecentFolder() const;
31
void addRecentFile(const MyGUI::UString& _fileName);
32
const VectorUString& getRecentFiles() const;
35
void checkArray(VectorUString& _array, size_t _maxElements);
38
MyGUI::UString mRecentFolder;
39
VectorUString mRecentFolders;
40
size_t mMaxRecentFolders;
41
VectorUString mRecentFiles;
42
size_t mMaxRecentFiles;
47
#endif // __RECENT_FILES_MANAGER_H__