comparison plugin/FeatureExtractionPluginFactory.cpp @ 358:9203b82a8c53

* better handling of cases with more than one copy of the same plugin in different libraries -- a bit mad, but it happened to me
author Chris Cannam
date Wed, 09 Jan 2008 17:09:44 +0000
parents 576be0d0d218
children 115f60df1e4d
comparison
equal deleted inserted replaced
357:b92513201610 358:9203b82a8c53
93 93
94 factory = instance("vamp"); 94 factory = instance("vamp");
95 if (factory) { 95 if (factory) {
96 std::vector<QString> tmp = factory->getPluginIdentifiers(); 96 std::vector<QString> tmp = factory->getPluginIdentifiers();
97 for (size_t i = 0; i < tmp.size(); ++i) { 97 for (size_t i = 0; i < tmp.size(); ++i) {
98 // std::cerr << "identifier: " << tmp[i].toStdString() << std::endl;
98 rv.push_back(tmp[i]); 99 rv.push_back(tmp[i]);
99 } 100 }
100 } 101 }
101 102
102 // Plugins can change the locale, revert it to default. 103 // Plugins can change the locale, revert it to default.