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

Method loadingStatus

Engine/OfxHost.cpp:1122–1138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1120}
1121
1122void
1123OfxHost::loadingStatus(bool loading,
1124 const std::string & pluginId,
1125 int versionMajor,
1126 int versionMinor)
1127{
1128 // set the pluginID in case the plug-in tries to fetch the hostname property
1129 _imp->loadingPluginID = pluginId;
1130 _imp->loadingPluginVersionMajor = versionMajor;
1131 _imp->loadingPluginVersionMinor = versionMinor;
1132 if (loading && appPTR) {
1133 appPTR->setLoadingStatus( QString::fromUtf8("OpenFX: loading ") + QString::fromUtf8( pluginId.c_str() ) + QString::fromUtf8(" v") + QString::number(versionMajor) + QLatin1Char('.') + QString::number(versionMinor) );
1134# ifdef DEBUG
1135 qDebug() << QString::fromUtf8("OpenFX: loading ") + QString::fromUtf8( pluginId.c_str() ) + QString::fromUtf8(" v") + QString::number(versionMajor) + QLatin1Char('.') + QString::number(versionMinor);
1136# endif
1137 }
1138}
1139
1140bool
1141OfxHost::pluginSupported(OFX::Host::ImageEffect::ImageEffectPlugin */*plugin*/,

Callers

nothing calls this directly

Calls 1

setLoadingStatusMethod · 0.45

Tested by

no test coverage detected