| 549 | } |
| 550 | |
| 551 | void |
| 552 | AppInstance::load(const CLArgs& cl, |
| 553 | bool makeEmptyInstance) |
| 554 | { |
| 555 | // Initialize the knobs of the project before loading anything else. |
| 556 | assert(!_imp->_currentProject); // < This function may only be called once per AppInstance |
| 557 | _imp->_currentProject = Project::create( shared_from_this() ); |
| 558 | _imp->_currentProject->initializeKnobsPublic(); |
| 559 | |
| 560 | loadInternal(cl, makeEmptyInstance); |
| 561 | } |
| 562 | |
| 563 | void |
| 564 | AppInstance::loadInternal(const CLArgs& cl, |
no test coverage detected