comparison main/MainWindow.cpp @ 281:b9c35cbfb39c

* Start thread to populate uninstalled transforms only on request (so runner doesn't have to have it)
author Chris Cannam
date Tue, 11 Nov 2008 09:41:45 +0000
parents 5dbbf539fda9
children 64a8ee011004
comparison
equal deleted inserted replaced
280:5dbbf539fda9 281:b9c35cbfb39c
268 setupHelpMenu(); 268 setupHelpMenu();
269 269
270 statusBar(); 270 statusBar();
271 271
272 newSession(); 272 newSession();
273
274 TransformFactory::getInstance()->startPopulationThread();
273 } 275 }
274 276
275 MainWindow::~MainWindow() 277 MainWindow::~MainWindow()
276 { 278 {
277 delete m_keyReference; 279 delete m_keyReference;
1222 m_transformsMenu->setTearOffEnabled(true); 1224 m_transformsMenu->setTearOffEnabled(true);
1223 } 1225 }
1224 1226
1225 TransformList transforms = 1227 TransformList transforms =
1226 TransformFactory::getInstance()->getAllTransformDescriptions(); 1228 TransformFactory::getInstance()->getAllTransformDescriptions();
1227
1228 //!!!
1229
1230 // PluginRDFIndexer::getInstance()->indexURL("http://www.vamp-plugins.org/rdf/plugins/vamp-example-plugins");
1231
1232 // TransformList uninstalled =
1233 // TransformFactory::getInstance()->getUninstalledTransformDescriptions();
1234 // for (int i = 0; i < uninstalled.size(); ++i) {
1235 // std::cerr << "uninstalled transform: " << uninstalled[i].name.toStdString() << std::endl;
1236 // }
1237
1238 1229
1239 vector<QString> types = 1230 vector<QString> types =
1240 TransformFactory::getInstance()->getAllTransformTypes(); 1231 TransformFactory::getInstance()->getAllTransformTypes();
1241 1232
1242 map<QString, map<QString, SubdividingMenu *> > categoryMenus; 1233 map<QString, map<QString, SubdividingMenu *> > categoryMenus;