MCPcopy Create free account
hub / github.com/audacity/audacity / Load

Method Load

src/widgets/FileHistory.cpp:116–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void FileHistory::Load(audacity::BasicSettings& settings, const wxString & group)
117{
118 mHistory.clear();
119 mGroup = group.empty()
120 ? wxString{ "RecentFiles" }
121 : group;
122
123 const auto localGroup = settings.BeginGroup(mGroup);
124 for(const auto& key : settings.GetChildKeys())
125 AddFileToHistory(settings.Read(key), false);
126
127 NotifyMenus();
128}
129
130void FileHistory::Save(audacity::BasicSettings& settings)
131{

Callers 5

GetAudacityCommandMethod · 0.45
ApplyMethod · 0.45
FileHistory.cppFile · 0.45
ExportOptionsHandlerMethod · 0.45
DoExportFunction · 0.45

Calls 5

clearMethod · 0.45
emptyMethod · 0.45
BeginGroupMethod · 0.45
GetChildKeysMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected