| 134 | } |
| 135 | |
| 136 | bool PluginManager::IsPluginRegistered( |
| 137 | const PluginPath &path, const TranslatableString *pName) |
| 138 | { |
| 139 | for (auto &pair : mRegisteredPlugins) { |
| 140 | if (auto &descriptor = pair.second; descriptor.GetPath() == path) { |
| 141 | if (pName) |
| 142 | descriptor.SetSymbol( |
| 143 | { descriptor.GetSymbol().Internal(), *pName }); |
| 144 | return true; |
| 145 | } |
| 146 | } |
| 147 | return false; |
| 148 | } |
| 149 | |
| 150 | bool PluginManager::IsPluginLoaded(const wxString& ID) const |
| 151 | { |
no test coverage detected