Layer brushes - Make enable-disable process consistent with plugins

This commit is contained in:
SpoinkyNL committed 2020-06-07 15:00:40 +02:00
1 parent 6327107277
commit 33bb3ffa6c
37 files changed
+325 -128

No files matched your search

@@ -17,7 +17,7 @@ namespace Artemis.Plugins.Devices.Wooting
_rgbService = rgbService;
}
protected override void EnablePlugin()
public override void EnablePlugin()
{
PathHelper.ResolvingAbsolutePath += (sender, args) => ResolveAbsolutePath(typeof(WootingRGBDevice<>), sender, args);
RGB.NET.Devices.Wooting.WootingDeviceProvider.PossibleX64NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x64", "wooting-rgb-sdk64.dll"));
@@ -25,7 +25,7 @@ namespace Artemis.Plugins.Devices.Wooting
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
protected override void DisablePlugin()
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}