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

Method addProjectToSession

au4/src/appshell/internal/sessionsmanager.cpp:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void SessionsManager::addProjectToSession(const io::path_t& projectPath)
114{
115 io::paths_t projects = configuration()->sessionProjectsPaths();
116
117 if (std::find(projects.begin(), projects.end(), projectPath) == projects.end()) {
118 projects.push_back(projectPath);
119 }
120
121 configuration()->setSessionProjectsPaths(projects);
122}

Callers

nothing calls this directly

Calls 5

sessionProjectsPathsMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected