comparison plugin/FeatureExtractionPluginFactory.h @ 1172:59ae7e04f7e9

Merge
author Chris Cannam
date Fri, 04 Mar 2016 12:29:35 +0000
parents 4607603c46d0
children 6b1af0f05f06
comparison
equal deleted inserted replaced
1171:fa1bec83441e 1172:59ae7e04f7e9
36 36
37 virtual std::vector<QString> getPluginPath(); 37 virtual std::vector<QString> getPluginPath();
38 38
39 virtual std::vector<QString> getPluginIdentifiers(); 39 virtual std::vector<QString> getPluginIdentifiers();
40 40
41 /**
42 * Return any error message arising from the initial plugin
43 * scan. The return value will either be an empty string (nothing
44 * to report) or an HTML string suitable for dropping into a
45 * dialog and showing the user.
46 */
47 virtual QString getPluginPopulationWarning() { return m_pluginScanError; }
48
41 virtual QString findPluginFile(QString soname, QString inDir = ""); 49 virtual QString findPluginFile(QString soname, QString inDir = "");
42 50
43 // We don't set blockSize or channels on this -- they're 51 // We don't set blockSize or channels on this -- they're
44 // negotiated and handled via initialize() on the plugin 52 // negotiated and handled via initialize() on the plugin
45 virtual Vamp::Plugin *instantiatePlugin(QString identifier, 53 virtual Vamp::Plugin *instantiatePlugin(QString identifier,
55 std::map<QString, QString> m_taxonomy; 63 std::map<QString, QString> m_taxonomy;
56 64
57 friend class PluginDeletionNotifyAdapter; 65 friend class PluginDeletionNotifyAdapter;
58 void pluginDeleted(Vamp::Plugin *); 66 void pluginDeleted(Vamp::Plugin *);
59 std::map<Vamp::Plugin *, void *> m_handleMap; 67 std::map<Vamp::Plugin *, void *> m_handleMap;
68
69 std::vector<QString> getPluginCandidateFiles();
70 std::vector<QString> winnowPluginCandidates(std::vector<QString> candidates,
71 QString &warningMessage);
72
73 void generateTaxonomy();
60 74
61 void generateTaxonomy(); 75 QString m_pluginScanError;
62 }; 76 };
63 77
64 #endif 78 #endif