Mercurial > hg > svcore
comparison plugin/FeatureExtractionPluginFactory.h @ 1182:a1f410f895d3 3.0-integration
Merge from branch pluginscan
author | Chris Cannam |
---|---|
date | Fri, 15 Apr 2016 16:26:15 +0100 |
parents | 6b1af0f05f06 |
children | 385deb828b4a |
comparison
equal
deleted
inserted
replaced
1175:4018fc0189bc | 1182:a1f410f895d3 |
---|---|
35 static std::vector<QString> getAllPluginIdentifiers(); | 35 static std::vector<QString> getAllPluginIdentifiers(); |
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 | |
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 | 40 |
49 virtual QString findPluginFile(QString soname, QString inDir = ""); | 41 virtual QString findPluginFile(QString soname, QString inDir = ""); |
50 | 42 |
51 // We don't set blockSize or channels on this -- they're | 43 // We don't set blockSize or channels on this -- they're |
52 // negotiated and handled via initialize() on the plugin | 44 // negotiated and handled via initialize() on the plugin |
64 | 56 |
65 friend class PluginDeletionNotifyAdapter; | 57 friend class PluginDeletionNotifyAdapter; |
66 void pluginDeleted(Vamp::Plugin *); | 58 void pluginDeleted(Vamp::Plugin *); |
67 std::map<Vamp::Plugin *, void *> m_handleMap; | 59 std::map<Vamp::Plugin *, void *> m_handleMap; |
68 | 60 |
69 std::vector<QString> getPluginCandidateFiles(); | |
70 std::vector<QString> winnowPluginCandidates(std::vector<QString> candidates, | |
71 QString &warningMessage); | |
72 | |
73 void generateTaxonomy(); | 61 void generateTaxonomy(); |
74 | |
75 QString m_pluginScanError; | |
76 }; | 62 }; |
77 | 63 |
78 #endif | 64 #endif |