We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this
| 130 | |
| 131 | // We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this |
| 132 | void MovieBase::initFromLoader( const MovieLoader &loader ) |
| 133 | { |
| 134 | startQuickTime(); |
| 135 | |
| 136 | loader.waitForLoaded(); |
| 137 | getObj()->mMovie = loader.transferMovieHandle(); |
| 138 | |
| 139 | init(); |
| 140 | } |
| 141 | |
| 142 | // We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this |
| 143 | void MovieBase::initFromPath( const fs::path &filePath ) |
nothing calls this directly
no test coverage detected