From a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Thu, 27 Dec 2018 18:27:57 -0500 Subject: Add GPL modules --- .../Plugins/IPluginConfigurationPage.cs | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs (limited to 'MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs') diff --git a/MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs b/MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs new file mode 100644 index 000000000..5feaf798c --- /dev/null +++ b/MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs @@ -0,0 +1,50 @@ +using MediaBrowser.Common.Plugins; +using System.IO; + +namespace MediaBrowser.Controller.Plugins +{ + /// + /// Interface IConfigurationPage + /// + public interface IPluginConfigurationPage + { + /// + /// Gets the name. + /// + /// The name. + string Name { get; } + + /// + /// Gets the type of the configuration page. + /// + /// The type of the configuration page. + ConfigurationPageType ConfigurationPageType { get; } + + /// + /// Gets the plugin. + /// + /// The plugin. + IPlugin Plugin { get; } + + /// + /// Gets the HTML stream. + /// + /// Stream. + Stream GetHtmlStream(); + } + + /// + /// Enum ConfigurationPageType + /// + public enum ConfigurationPageType + { + /// + /// The plugin configuration + /// + PluginConfiguration, + /// + /// The none + /// + None + } +} -- cgit v1.2.3