diff transform/TransformFactory.h @ 1166:4607603c46d0

Show warning to the user when plugin population has problems
author Chris Cannam
date Tue, 19 Jan 2016 12:32:30 +0000
parents 26cf6d5251ec
children 6b1af0f05f06
line wrap: on
line diff
--- a/transform/TransformFactory.h	Mon Jan 11 14:18:56 2016 +0000
+++ b/transform/TransformFactory.h	Tue Jan 19 12:32:30 2016 +0000
@@ -196,6 +196,14 @@
     void setParametersFromPluginConfigurationXml(Transform &transform,
                                                  QString xml);
 
+    /**
+     * Return any error message arising from the initial plugin
+     * scan. The return value will either be an empty string (nothing
+     * to report) or an HTML string suitable for dropping into a
+     * dialog and showing the user.
+     */
+    QString getPluginPopulationWarning();
+    
 protected:
     typedef std::map<TransformId, TransformDescription> TransformDescriptionMap;