using System.Drawing; namespace GreenshotPlugin.Interfaces.Plugin { /// /// This interface is the GreenshotPluginHost, that which "Hosts" the plugin. /// For Greenshot this is implemented in the PluginHelper /// public interface IGreenshotHost { /// /// Create a Thumbnail /// /// Image of which we need a Thumbnail /// /// /// Image with Thumbnail Image GetThumbnail(Image image, int width, int height); /// /// Export a surface to the destination with has the supplied designation /// /// /// /// /// ExportInformation ExportCapture(bool manuallyInitiated, string designation, ISurface surface, ICaptureDetails captureDetails); /// /// Make region capture with specified Handler /// /// bool false if the mouse should not be captured, true if the configuration should be checked /// IDestination destination void CaptureRegion(bool captureMouseCursor, IDestination destination); /// /// Use the supplied capture, and handle it as if it's captured. /// /// ICapture to import void ImportCapture(ICapture captureToImport); /// /// Use the supplied image, and ICapture a capture object for it /// /// Image to create capture for /// ICapture ICapture GetCapture(Image imageToCapture); } }