mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Added plugin unloading
This commit is contained in:
1 parent
8ccac7f073
commit
0b3fa7a53a
23 files changed
+309
-158
No files matched your search
@@ -2,14 +2,21 @@
|
||||
|
||||
namespace Artemis.Core.Plugins.Interfaces
|
||||
{
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
/// This is the base plugin type, use the other interfaces such as IModule to create plugins
|
||||
/// </summary>
|
||||
public interface IPlugin : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// Called when the plugin is loaded
|
||||
/// Called when the plugin is activated
|
||||
/// </summary>
|
||||
void EnablePlugin();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Called when the plugin is deactivated
|
||||
/// </summary>
|
||||
void DisablePlugin();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user