Mercurial > hg > svcore
diff plugin/PiperVampPluginFactory.h @ 1227:5d886b7b4029 piper
Error reporting for Piper server startup
author | Chris Cannam |
---|---|
date | Fri, 21 Oct 2016 16:24:30 +0100 |
parents | ba16388b937d |
children | 42a4b058f8ba |
line wrap: on
line diff
--- a/plugin/PiperVampPluginFactory.h Fri Oct 21 14:51:22 2016 +0100 +++ b/plugin/PiperVampPluginFactory.h Fri Oct 21 16:24:30 2016 +0100 @@ -35,7 +35,8 @@ virtual ~PiperVampPluginFactory() { } - virtual std::vector<QString> getPluginIdentifiers() override; + virtual std::vector<QString> getPluginIdentifiers(QString &errorMessage) + override; virtual piper_vamp::PluginStaticData getPluginStaticData(QString identifier) override; @@ -51,7 +52,7 @@ std::string m_serverName; std::map<QString, piper_vamp::PluginStaticData> m_pluginData; // identifier -> data std::map<QString, QString> m_taxonomy; // identifier -> category string - void populate(); + void populate(QString &errorMessage); }; #endif