| 4210 | } |
| 4211 | |
| 4212 | bool |
| 4213 | NATRON_PYTHON_NAMESPACE::getGroupInfos(const std::string& modulePath, |
| 4214 | const std::string& pythonModule, |
| 4215 | std::string* pluginID, |
| 4216 | std::string* pluginLabel, |
| 4217 | std::string* iconFilePath, |
| 4218 | std::string* grouping, |
| 4219 | std::string* description, |
| 4220 | bool* isToolset, |
| 4221 | unsigned int* version) |
| 4222 | { |
| 4223 | #ifdef NATRON_RUN_WITHOUT_PYTHON |
| 4224 | |
| 4225 | return false; |
| 4226 | #endif |
| 4227 | |
| 4228 | { |
| 4229 | std::string tofind(":/Resources"); |
| 4230 | if (modulePath.substr( 0, tofind.size() ) == tofind) { |
| 4231 | std::string resourceFileName = modulePath + pythonModule + ".py"; |
| 4232 | |
| 4233 | return getGroupInfosFromQtResourceFile(resourceFileName, modulePath, pythonModule, pluginID, pluginLabel, iconFilePath, grouping, description, isToolset, version); |
| 4234 | } |
| 4235 | } |
| 4236 | |
| 4237 | return getGroupInfosInternal(modulePath, pythonModule, pluginID, pluginLabel, iconFilePath, grouping, description, isToolset, version); |
| 4238 | } |
| 4239 | |
| 4240 | void |
| 4241 | NATRON_PYTHON_NAMESPACE::getFunctionArguments(const std::string& pyFunc, |
nothing calls this directly
no test coverage detected