aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Drawing
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Drawing')
-rw-r--r--MediaBrowser.Controller/Drawing/IImageGenerator.cs4
-rw-r--r--MediaBrowser.Controller/Drawing/SplashscreenOptions.cs29
2 files changed, 2 insertions, 31 deletions
diff --git a/MediaBrowser.Controller/Drawing/IImageGenerator.cs b/MediaBrowser.Controller/Drawing/IImageGenerator.cs
index 21699c3f0..4f944ce54 100644
--- a/MediaBrowser.Controller/Drawing/IImageGenerator.cs
+++ b/MediaBrowser.Controller/Drawing/IImageGenerator.cs
@@ -11,7 +11,7 @@ namespace MediaBrowser.Controller.Drawing
/// <summary>
/// Generates a splashscreen.
/// </summary>
- /// <param name="generationOptions">The options used to generate the splashscreen.</param>
- void GenerateSplashscreen(SplashscreenOptions generationOptions);
+ /// <param name="outputPath">The path where the splashscreen should be saved.</param>
+ void GenerateSplashscreen(string outputPath);
}
}
diff --git a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs b/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs
deleted file mode 100644
index ba268b8eb..000000000
--- a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-namespace MediaBrowser.Controller.Drawing
-{
- /// <summary>
- /// Options used to generate the splashscreen.
- /// </summary>
- public class SplashscreenOptions
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="SplashscreenOptions"/> class.
- /// </summary>
- /// <param name="outputPath">The output path.</param>
- /// <param name="applyFilter">Optional. Apply a darkening filter.</param>
- public SplashscreenOptions(string outputPath, bool applyFilter = false)
- {
- OutputPath = outputPath;
- ApplyFilter = applyFilter;
- }
-
- /// <summary>
- /// Gets or sets the output path.
- /// </summary>
- public string OutputPath { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether to apply a darkening filter at the end.
- /// </summary>
- public bool ApplyFilter { get; set; }
- }
-}