diff plugin/PluginScan.h @ 1180:98664afd518b pluginscan

Update for adjusted checker layout, and tidy
author Chris Cannam
date Thu, 14 Apr 2016 16:52:55 +0100
parents 6b1af0f05f06
children 2f628dc9a0b0
line wrap: on
line diff
--- a/plugin/PluginScan.h	Thu Apr 14 14:03:18 2016 +0100
+++ b/plugin/PluginScan.h	Thu Apr 14 16:52:55 2016 +0100
@@ -17,9 +17,9 @@
 
 #include <QStringList>
 
-#include "../vamp-plugin-load-checker/knownplugins.h" //!!!
+class KnownPlugins;
 
-class PluginScan : public PluginCandidates::LogCallback
+class PluginScan
 {
 public:
     static PluginScan *getInstance();
@@ -28,21 +28,23 @@
 
     bool scanSucceeded() const;
     
-    QStringList getCandidateVampLibraries() const;
-    QStringList getCandidateLADSPALibraries() const;
-    QStringList getCandidateDSSILibraries() const;
-    QStringList getCandidateLibrariesFor(KnownPlugins::PluginType) const;
+    enum PluginType {
+	VampPlugin,
+	LADSPAPlugin,
+	DSSIPlugin
+    };
+    QStringList getCandidateLibrariesFor(PluginType) const;
 
     QString getStartupFailureReport() const;
 
-protected:
-    void log(std::string);
-
 private:
     PluginScan();
     ~PluginScan();
     KnownPlugins *m_kp;
     bool m_succeeded;
+
+    class Logger;
+    Logger *m_logger;
 };
 
 #endif