63 const std::vector<LoadedPlugin>&
LoadedPlugins()
const {
return _loaded; }
69 const std::map<std::string, std::string>&
Refused()
const {
return _refused; }
79 Status LoadOne(
const PluginManifest& manifest);
89 void UnloadOne(std::string_view name, UnloadTime when);
92 void LoadGroup(
const InstalledScan& installed,
const std::function<
bool(std::string_view)>& wanted);
94 void Refuse(std::string_view name, std::string reason);
96 LoadedPlugin* FindLoaded(std::string_view name);
97 std::vector<PluginManifest> LoadedManifests()
const;
99 void RunLoad(std::string_view name);
100 void RunUnload(std::string_view name);
101 void RunReload(std::string_view name);
103 PluginRegistry& _registry;
104 ServerAssets& _assets;
105 std::vector<LoadedPlugin> _loaded;
106 std::vector<PendingAction> _pending;
107 std::map<std::string, std::string> _refused;