| 30 | } |
| 31 | |
| 32 | OnOpenAction ProjectFileIOExtensionRegistry::OnOpen( |
| 33 | AudacityProject& project, const std::string& path) |
| 34 | { |
| 35 | for (auto& extension : GetExtensions()) |
| 36 | if (extension->OnOpen(project, path) == OnOpenAction::Cancel) |
| 37 | return OnOpenAction::Cancel; |
| 38 | |
| 39 | return OnOpenAction::Continue; |
| 40 | } |
| 41 | |
| 42 | void ProjectFileIOExtensionRegistry::OnLoad(AudacityProject& project) |
| 43 | { |
nothing calls this directly
no test coverage detected