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

Method loadProject

Duration/src/DurationController.cpp:1393–1402  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1391
1392//--------------------------------------------------------------
1393void DurationController::loadProject(string projectPath, bool forceCreate){
1394 //scrape off the last component of the filename for the project name
1395 projectPath = ofFilePath::removeTrailingSlash(projectPath);
1396#ifdef TARGET_WIN32
1397 vector<string> pathComponents = ofSplitString(projectPath, "\\");
1398#else
1399 vector<string> pathComponents = ofSplitString(projectPath, "/");
1400#endif
1401 loadProject(projectPath, pathComponents[pathComponents.size()-1], forceCreate);
1402}
1403
1404//--------------------------------------------------------------
1405void DurationController::loadProject(string projectPath, string projectName, bool forceCreate){

Callers

nothing calls this directly

Calls 5

getTrackTypeMethod · 0.80
setValueRangeMethod · 0.80
setSendOSCMethod · 0.80
setReceiveOSCMethod · 0.80
setupMethod · 0.45

Tested by

no test coverage detected