mirror of
https://github.com/greenshot/greenshot.git
synced 2025-01-24 22:22:49 -08:00
25 lines
769 B
C#
25 lines
769 B
C#
using System;
|
|
|
|
namespace GreenshotPlugin.Interfaces.Plugin
|
|
{
|
|
/// <summary>
|
|
/// This defines the plugin
|
|
/// </summary>
|
|
public interface IGreenshotPlugin : IDisposable {
|
|
/// <summary>
|
|
/// Is called after the plugin is instantiated, the Plugin should keep a copy of the host and pluginAttribute.
|
|
/// </summary>
|
|
/// <returns>true if plugin is initialized, false if not (doesn't show)</returns>
|
|
bool Initialize();
|
|
|
|
/// <summary>
|
|
/// Unload of the plugin
|
|
/// </summary>
|
|
void Shutdown();
|
|
|
|
/// <summary>
|
|
/// Open the Configuration Form, will/should not be called before handshaking is done
|
|
/// </summary>
|
|
void Configure();
|
|
}
|
|
} |