| 1011 | } |
| 1012 | |
| 1013 | bool PluginManager::reloadAll() |
| 1014 | { |
| 1015 | std::lock_guard<std::recursive_mutex> lock{*plugin_mutex}; |
| 1016 | bool ok = true; |
| 1017 | if (!unloadAll()) |
| 1018 | ok = false; |
| 1019 | if (!loadAll()) |
| 1020 | ok = false; |
| 1021 | return ok; |
| 1022 | } |
| 1023 | |
| 1024 | Plugin *PluginManager::getPluginByCommand(const std::string &command) |
| 1025 | { |