comparison transform/TransformFactory.cpp @ 1179:6b1af0f05f06 pluginscan

Make use of, and warn for, the plugin checker for all types of plugin. Haven't yet resolved the question of how to install and find it.
author Chris Cannam
date Thu, 14 Apr 2016 14:03:18 +0100
parents 6877f4200912
children c2207877689d
comparison
equal deleted inserted replaced
1178:bf05d9259dbc 1179:6b1af0f05f06
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;
412 } 400 }
413 401
414 void 402 void
415 TransformFactory::populateFeatureExtractionPlugins(TransformDescriptionMap &transforms) 403 TransformFactory::populateFeatureExtractionPlugins(TransformDescriptionMap &transforms)
416 { 404 {