| 228 | } |
| 229 | |
| 230 | void |
| 231 | Plugin::getPythonModuleNameAndPath(QString* moduleName, |
| 232 | QString* modulePath) const |
| 233 | { |
| 234 | int foundLastSlash = _pythonModule.lastIndexOf( QLatin1Char('/') ); |
| 235 | |
| 236 | if (foundLastSlash != -1) { |
| 237 | *modulePath = _pythonModule.mid(0, foundLastSlash + 1); |
| 238 | *moduleName = _pythonModule.mid(foundLastSlash + 1); |
| 239 | } else { |
| 240 | *moduleName = _pythonModule; |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | void |
| 245 | Plugin::setOfxPlugin(OFX::Host::ImageEffect::ImageEffectPlugin* p) |
no outgoing calls
no test coverage detected