Mercurial > hg > svcore
diff plugin/LADSPAPluginFactory.cpp @ 1464:91bb68146dfc
Add getPluginLibraryPath throughout, in order to provide diagnostic about which plugins were loaded from where
author | Chris Cannam |
---|---|
date | Fri, 11 May 2018 14:11:04 +0100 |
parents | 48e9f538e6e9 |
children | 5ac102155409 |
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp Thu May 10 10:12:13 2018 +0100 +++ b/plugin/LADSPAPluginFactory.cpp Fri May 11 14:11:04 2018 +0100 @@ -69,6 +69,12 @@ return m_identifiers; } +QString +LADSPAPluginFactory::getPluginLibraryPath(QString identifier) +{ + return m_libraries[identifier]; +} + void LADSPAPluginFactory::enumeratePlugins(std::vector<QString> &list) { @@ -794,6 +800,8 @@ m_identifiers.push_back(identifier); + m_libraries[identifier] = soname; + m_rtDescriptors[identifier] = rtd; ++index;