| 168 | } |
| 169 | |
| 170 | bool |
| 171 | WriteNode::isBundledWriter(const std::string& pluginID, |
| 172 | bool wasProjectCreatedWithLowerCaseIDs) |
| 173 | { |
| 174 | if (wasProjectCreatedWithLowerCaseIDs) { |
| 175 | // Natron 1.x has plugin ids stored in lowercase |
| 176 | return ( boost::iequals(pluginID, PLUGINID_OFX_WRITEOIIO) || |
| 177 | boost::iequals(pluginID, PLUGINID_OFX_WRITEFFMPEG) || |
| 178 | boost::iequals(pluginID, PLUGINID_OFX_WRITEPFM) || |
| 179 | boost::iequals(pluginID, PLUGINID_OFX_WRITEPNG) ); |
| 180 | } |
| 181 | |
| 182 | return (pluginID == PLUGINID_OFX_WRITEOIIO || |
| 183 | pluginID == PLUGINID_OFX_WRITEFFMPEG || |
| 184 | pluginID == PLUGINID_OFX_WRITEPFM || |
| 185 | pluginID == PLUGINID_OFX_WRITEPNG); |
| 186 | } |
| 187 | |
| 188 | bool |
| 189 | WriteNode::isBundledWriter(const std::string& pluginID) |
nothing calls this directly
no test coverage detected