changeset 1145:52cbb3f6b9fa 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 a1ce253dc90e
children c78fbb819a62
files .hgsubstate main/MainWindow.cpp
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Thu Apr 14 12:12:04 2016 +0100
+++ b/.hgsubstate	Thu Apr 14 14:03:18 2016 +0100
@@ -5,7 +5,7 @@
 68ae618c6b0e442d08a71d39217784a08f2a8de3 icons/scalable
 1e4f338ae482429a7ab9bdd0825242042354152f sv-dependency-builds
 f7ec9e410108fe08580cf61e328b73fe8c7e4e1d svapp
-bf05d9259dbce1ebf451f6a527fa0c9484bfc926 svcore
+6b1af0f05f067846d30baf8ced184da38a9c36ca svcore
 3691af49291c57a31883fd27190586737935b12b svgui
 846464771d06fcfa2c279d5c1a17dbc3c9013033 vamp-plugin-load-checker
 35fa4733bc5dd88418df5bb1fe2819e1e24e76e5 vamp-plugin-sdk
--- a/main/MainWindow.cpp	Thu Apr 14 12:12:04 2016 +0100
+++ b/main/MainWindow.cpp	Thu Apr 14 14:03:18 2016 +0100
@@ -69,6 +69,7 @@
 #include "data/fileio/FileSource.h"
 #include "data/midi/MIDIInput.h"
 #include "base/RecentFiles.h"
+#include "plugin/PluginScan.h"
 #include "transform/TransformFactory.h"
 #include "transform/ModelTransformerFactory.h"
 #include "base/PlayParameterRepository.h"
@@ -330,7 +331,7 @@
         m_versionTester = 0;
     }
 
-    QString warning = TransformFactory::getInstance()->getPluginPopulationWarning();
+    QString warning = PluginScan::getInstance()->getStartupFailureReport();
     if (warning != "") pluginPopulationWarning(warning);
 }