MCPcopy Create free account
hub / github.com/MyGUI/mygui / addRecentProject

Method addRecentProject

Tools/LayoutEditor/RecentFilesManager.cpp:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void RecentFilesManager::addRecentProject(const MyGUI::UString& _fileName)
102 {
103 mRecentProjects.insert(mRecentProjects.begin(), _fileName);
104
105 checkArray(mRecentProjects, mMaxRecentProjects);
106
107 SettingsManager::getInstance().setValueList<MyGUI::UString>("Files/RecentProject.List", mRecentProjects);
108 }
109
110 const RecentFilesManager::VectorUString& RecentFilesManager::getRecentProjects() const
111 {

Callers 2

loadMethod · 0.80
createProjectMethod · 0.80

Calls 2

insertMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected