MCPcopy Create free account
hub / github.com/YCAMInterlab/Duration / newProject

Method newProject

Duration/src/DurationController.cpp:1347–1356  ·  view source on GitHub ↗

--------------------------------------------------------------

Source from the content-addressed store, hash-verified

1345
1346//--------------------------------------------------------------
1347void DurationController::newProject(string projectPath){
1348 //scrape off the last component of the filename for the project name
1349 projectPath = ofFilePath::removeTrailingSlash(projectPath);
1350#ifdef TARGET_WIN32
1351 vector<string> pathComponents = ofSplitString(projectPath, "\\");
1352#else
1353 vector<string> pathComponents = ofSplitString(projectPath, "/");
1354#endif
1355 newProject(projectPath, pathComponents[pathComponents.size()-1]);
1356}
1357
1358//--------------------------------------------------------------
1359void DurationController::newProject(string newProjectPath, string newProjectName){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected