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

Method OnOpen

libraries/lib-project-file-io/ProjectFileIOExtension.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32OnOpenAction 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
42void ProjectFileIOExtensionRegistry::OnLoad(AudacityProject& project)
43{

Callers

nothing calls this directly

Calls 1

GetExtensionsFunction · 0.85

Tested by

no test coverage detected