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

Method GetAll

libraries/lib-project-file-io/ActiveProjects.cpp:19–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include <wx/filename.h>
18
19FilePaths ActiveProjects::GetAll()
20{
21 FilePaths files;
22
23 const auto activeProjectsGroup = gPrefs->BeginGroup("/ActiveProjects");
24 for(const auto& key : gPrefs->GetChildKeys())
25 {
26 wxFileName path = gPrefs->Read(key, wxT(""));
27 files.Add(path.GetFullPath());
28 }
29
30 return files;
31}
32
33void ActiveProjects::Add(const FilePath &path)
34{

Callers

nothing calls this directly

Calls 4

BeginGroupMethod · 0.45
GetChildKeysMethod · 0.45
ReadMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected