| 75 | |
| 76 | |
| 77 | inline Plugin::Descriptor::SubPluginFeatures::Key ladspaKeyToSubPluginKey( |
| 78 | const Plugin::Descriptor * _desc, |
| 79 | const QString & _name, |
| 80 | const ladspa_key_t & _key ) |
| 81 | { |
| 82 | Plugin::Descriptor::SubPluginFeatures::Key::AttributeMap m; |
| 83 | QString file = _key.first; |
| 84 | m["file"] = file.remove( QRegExp( "\\.so$" ) ).remove( QRegExp( "\\.dll$" ) ); |
| 85 | m["plugin"] = _key.second; |
| 86 | return Plugin::Descriptor::SubPluginFeatures::Key( _desc, _name, m ); |
| 87 | } |
| 88 | |
| 89 | |
| 90 | #endif |
no test coverage detected