comparison 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
comparison
equal deleted inserted replaced
1463:2b2b58ae8b59 1464:91bb68146dfc
65 65
66 const std::vector<QString> & 66 const std::vector<QString> &
67 LADSPAPluginFactory::getPluginIdentifiers() const 67 LADSPAPluginFactory::getPluginIdentifiers() const
68 { 68 {
69 return m_identifiers; 69 return m_identifiers;
70 }
71
72 QString
73 LADSPAPluginFactory::getPluginLibraryPath(QString identifier)
74 {
75 return m_libraries[identifier];
70 } 76 }
71 77
72 void 78 void
73 LADSPAPluginFactory::enumeratePlugins(std::vector<QString> &list) 79 LADSPAPluginFactory::enumeratePlugins(std::vector<QString> &list)
74 { 80 {
792 } 798 }
793 } 799 }
794 800
795 m_identifiers.push_back(identifier); 801 m_identifiers.push_back(identifier);
796 802
803 m_libraries[identifier] = soname;
804
797 m_rtDescriptors[identifier] = rtd; 805 m_rtDescriptors[identifier] = rtd;
798 806
799 ++index; 807 ++index;
800 } 808 }
801 809