jellyfin/MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs

51 lines
1.2 KiB
C#
Raw Normal View History

2013-03-05 16:11:20 -07:00
using MediaBrowser.Common.Plugins;
2013-02-21 23:28:57 -07:00
using System.IO;
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>
2013-03-05 16:11:20 -07:00
/// Gets the plugin.
2013-02-21 23:28:57 -07:00
/// </summary>
2013-03-05 16:11:20 -07:00
/// <value>The plugin.</value>
IPlugin Plugin { get; }
2013-02-21 23:28:57 -07:00
/// <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
}
}