2019-01-13 13:01:16 -07:00
|
|
|
using System.IO;
|
2019-01-13 12:25:32 -07:00
|
|
|
using MediaBrowser.Common.Plugins;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Plugins
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Interface IConfigurationPage
|
|
|
|
/// </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>
|
|
|
|
/// Enum ConfigurationPageType
|
|
|
|
/// </summary>
|
|
|
|
public enum ConfigurationPageType
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The plugin configuration
|
|
|
|
/// </summary>
|
|
|
|
PluginConfiguration,
|
|
|
|
/// <summary>
|
|
|
|
/// The none
|
|
|
|
/// </summary>
|
|
|
|
None
|
|
|
|
}
|
|
|
|
}
|