MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / loadingStatus

Method loadingStatus

Engine/OfxHost.cpp:1133–1149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131}
1132
1133void
1134OfxHost::loadingStatus(bool loading,
1135 const std::string & pluginId,
1136 int versionMajor,
1137 int versionMinor)
1138{
1139 // set the pluginID in case the plug-in tries to fetch the hostname property
1140 _imp->loadingPluginID = pluginId;
1141 _imp->loadingPluginVersionMajor = versionMajor;
1142 _imp->loadingPluginVersionMinor = versionMinor;
1143 if (loading && appPTR) {
1144 appPTR->setLoadingStatus( QString::fromUtf8("OpenFX: loading ") + QString::fromUtf8( pluginId.c_str() ) + QString::fromUtf8(" v") + QString::number(versionMajor) + QLatin1Char('.') + QString::number(versionMinor) );
1145# ifdef DEBUG
1146 qDebug() << QString::fromUtf8("OpenFX: loading ") + QString::fromUtf8( pluginId.c_str() ) + QString::fromUtf8(" v") + QString::number(versionMajor) + QLatin1Char('.') + QString::number(versionMinor);
1147# endif
1148 }
1149}
1150
1151bool
1152OfxHost::pluginSupported(OFX::Host::ImageEffect::ImageEffectPlugin */*plugin*/,

Callers

nothing calls this directly

Calls 1

setLoadingStatusMethod · 0.45

Tested by

no test coverage detected