add control manager for plugins

This commit is contained in:
Pilzinsel64
2024-11-15 11:03:29 +01:00
parent b7acc6f0a4
commit 6abaa8615a
7 changed files with 145 additions and 54 deletions

View File

@@ -2,6 +2,8 @@
public abstract class ControlFeature : PluginFeature
{
public bool ControlNameRegEx { get; }
public string? ControlName { get; }
public ControlFeature(string? controlName, string type, string identifier) : base(type, identifier)
@@ -14,5 +16,5 @@ public abstract class ControlFeature : PluginFeature
ControlName = controlName;
}
public abstract void Execute(Control control, PluginFunctionParameter? parameter);
public abstract void Execute(Control control, ControlExecuteReason reason, PluginFunctionParameter? parameter);
}