| 17 | #include <wx/filename.h> |
| 18 | |
| 19 | FilePaths 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 | |
| 33 | void ActiveProjects::Add(const FilePath &path) |
| 34 | { |
nothing calls this directly
no test coverage detected