Mercurial > hg > svcore
comparison plugin/FeatureExtractionPluginFactory.h @ 1179:6b1af0f05f06 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 | afed8be79032 |
children | 385deb828b4a |
comparison
equal
deleted
inserted
replaced
1178:bf05d9259dbc | 1179:6b1af0f05f06 |
---|---|
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 |