1 parent
4fca5523f6
commit
fa30098129
5 files changed
+59
No files matched your search
@@ -86,6 +86,9 @@ namespace Void::Plugin
|
||||
// name argument is the registry name (IPlugin::name()).
|
||||
std::function<std::string(std::string_view plugin_name)>
|
||||
config_provider;
|
||||
// Host-specific contract checked after plugin activation and before
|
||||
// publication. A failed validation aborts load/reload transactionally.
|
||||
std::function<bool(IPlugin&, const PluginInfo&)> instance_validator;
|
||||
};
|
||||
|
||||
// Identifies an on_reloaded observer for remove_on_reloaded.
|
||||
|
||||
Reference in new issue
Block a user