Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 1144:a1ce253dc90e pluginscan
First cut running (but not yet using output of, or recovering from errors in) the plugin checker at startup
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2016 12:12:04 +0100 |
parents | 2f8018eb1573 |
children | b3b5885e7c2c |
comparison
equal
deleted
inserted
replaced
1143:129910eddd00 | 1144:a1ce253dc90e |
---|---|
24 #include "data/fileio/FileSource.h" | 24 #include "data/fileio/FileSource.h" |
25 #include "widgets/TipDialog.h" | 25 #include "widgets/TipDialog.h" |
26 #include "widgets/InteractiveFileFinder.h" | 26 #include "widgets/InteractiveFileFinder.h" |
27 #include "svapp/framework/TransformUserConfigurator.h" | 27 #include "svapp/framework/TransformUserConfigurator.h" |
28 #include "transform/TransformFactory.h" | 28 #include "transform/TransformFactory.h" |
29 #include "svcore/plugin/PluginScan.h" | |
29 | 30 |
30 #include <QMetaType> | 31 #include <QMetaType> |
31 #include <QApplication> | 32 #include <QApplication> |
32 #include <QDesktopWidget> | 33 #include <QDesktopWidget> |
33 #include <QMessageBox> | 34 #include <QMessageBox> |
330 SVDEBUG << "Done" << endl; | 331 SVDEBUG << "Done" << endl; |
331 application.installTranslator(&svTranslator); | 332 application.installTranslator(&svTranslator); |
332 | 333 |
333 StoreStartupLocale(); | 334 StoreStartupLocale(); |
334 | 335 |
336 // Make known-plugins query as early as possible after showing | |
337 // splash screen | |
338 PluginScan::getInstance()->scan(); | |
339 | |
335 // Permit size_t and PropertyName to be used as args in queued signal calls | 340 // Permit size_t and PropertyName to be used as args in queued signal calls |
336 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName"); | 341 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName"); |
337 | 342 |
338 MainWindow::SoundOptions options = MainWindow::WithEverything; | 343 MainWindow::SoundOptions options = MainWindow::WithEverything; |
339 if (!audioOutput) options = 0; | 344 if (!audioOutput) options = 0; |