| 183 | } |
| 184 | |
| 185 | PluginPaths LadspaEffectsModule::FindModulePaths(PluginManagerInterface & pm) |
| 186 | { |
| 187 | auto pathList = GetSearchPaths(pm); |
| 188 | FilePaths files; |
| 189 | |
| 190 | #if defined(__WXMAC__) |
| 191 | |
| 192 | // Recursively scan for all shared objects |
| 193 | pm.FindFilesInPathList(wxT("*.so"), pathList, files, true); |
| 194 | |
| 195 | #elif defined(__WXMSW__) |
| 196 | |
| 197 | // Recursively scan for all DLLs |
| 198 | pm.FindFilesInPathList(wxT("*.dll"), pathList, files, true); |
| 199 | |
| 200 | #else |
| 201 | |
| 202 | // Recursively scan for all shared objects |
| 203 | pm.FindFilesInPathList(wxT("*.so"), pathList, files, true); |
| 204 | |
| 205 | #endif |
| 206 | |
| 207 | return { files.begin(), files.end() }; |
| 208 | } |
| 209 | |
| 210 | unsigned LadspaEffectsModule::DiscoverPluginsAtPath( |
| 211 | const PluginPath & path, TranslatableString &errMsg, |
nothing calls this directly
no test coverage detected