2019-01-13 20:01:16 +00:00
|
|
|
using System.IO;
|
2019-01-13 19:25:32 +00:00
|
|
|
using MediaBrowser.Common.Plugins;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Plugins
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-15 22:37:52 +00:00
|
|
|
/// Interface IConfigurationPage.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public interface IPluginConfigurationPage
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the name.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name.</value>
|
|
|
|
string Name { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the type of the configuration page.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The type of the configuration page.</value>
|
|
|
|
ConfigurationPageType ConfigurationPageType { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the plugin.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The plugin.</value>
|
|
|
|
IPlugin Plugin { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the HTML stream.
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>Stream.</returns>
|
|
|
|
Stream GetHtmlStream();
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
2020-06-15 22:37:52 +00:00
|
|
|
/// Enum ConfigurationPageType.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public enum ConfigurationPageType
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-15 22:37:52 +00:00
|
|
|
/// The plugin configuration.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
PluginConfiguration,
|
2020-08-22 19:56:24 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
2020-06-15 22:37:52 +00:00
|
|
|
/// The none.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
None
|
|
|
|
}
|
|
|
|
}
|