mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
22 lines
536 B
C#
22 lines
536 B
C#
using System;
|
|
|
|
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 activated
|
|
/// </summary>
|
|
void EnablePlugin();
|
|
|
|
|
|
/// <summary>
|
|
/// Called when the plugin is deactivated
|
|
/// </summary>
|
|
void DisablePlugin();
|
|
}
|
|
} |