comparison transform/TransformFactory.cpp @ 1149:afed8be79032 3.0-integration

Show warning to the user when plugin population has problems
author Chris Cannam
date Tue, 19 Jan 2016 12:32:30 +0000
parents 26cf6d5251ec
children ea636412f9fe
comparison
equal deleted inserted replaced
1148:9cdb4206aceb 1149:afed8be79032
395 395
396 m_transforms[identifier] = desc; 396 m_transforms[identifier] = desc;
397 } 397 }
398 398
399 m_transformsPopulated = true; 399 m_transformsPopulated = true;
400 }
401
402 QString
403 TransformFactory::getPluginPopulationWarning()
404 {
405 FeatureExtractionPluginFactory *vfactory =
406 FeatureExtractionPluginFactory::instance("vamp");
407 QString warningMessage;
408 if (vfactory) {
409 warningMessage = vfactory->getPluginPopulationWarning();
410 }
411 return warningMessage;
400 } 412 }
401 413
402 void 414 void
403 TransformFactory::populateFeatureExtractionPlugins(TransformDescriptionMap &transforms) 415 TransformFactory::populateFeatureExtractionPlugins(TransformDescriptionMap &transforms)
404 { 416 {