diff options
| author | Cody Robibero <cody@robibe.ro> | 2022-01-04 08:37:57 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2022-01-04 08:44:03 -0700 |
| commit | 360fd70fc74325008b031c9a1155b9b76724866d (patch) | |
| tree | 88966cefe4f3a9a982cdf7b0bcb2c88edc6e0d64 /MediaBrowser.Controller/Drawing/IImageGenerator.cs | |
| parent | 9e0958d8224ef3fa51893fd5a38cc57104f32422 (diff) | |
Clean up
Diffstat (limited to 'MediaBrowser.Controller/Drawing/IImageGenerator.cs')
| -rw-r--r-- | MediaBrowser.Controller/Drawing/IImageGenerator.cs | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/MediaBrowser.Controller/Drawing/IImageGenerator.cs b/MediaBrowser.Controller/Drawing/IImageGenerator.cs index f7e7f83b2..773db02cb 100644 --- a/MediaBrowser.Controller/Drawing/IImageGenerator.cs +++ b/MediaBrowser.Controller/Drawing/IImageGenerator.cs @@ -1,20 +1,22 @@ -namespace MediaBrowser.Controller.Drawing +using System.Collections.Generic; + +namespace MediaBrowser.Controller.Drawing; + +/// <summary> +/// Interface for an image generator. +/// </summary> +public interface IImageGenerator { /// <summary> - /// Interface for an image generator. + /// Gets the supported generated images of the image generator. /// </summary> - public interface IImageGenerator - { - /// <summary> - /// Gets the supported generated images of the image generator. - /// </summary> - /// <returns>The supported images.</returns> - GeneratedImages[] GetSupportedImages(); + /// <returns>The supported generated image types.</returns> + IReadOnlyList<GeneratedImageType> GetSupportedImages(); - /// <summary> - /// Generates a splashscreen. - /// </summary> - /// <param name="outputPath">The path where the splashscreen should be saved.</param> - void GenerateSplashscreen(string outputPath); - } + /// <summary> + /// Generates a splashscreen. + /// </summary> + /// <param name="imageTypeType">The image to generate.</param> + /// <param name="outputPath">The path where the splashscreen should be saved.</param> + void Generate(GeneratedImageType imageTypeType, string outputPath); } |
