mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
Add GPL modules
This commit is contained in:
50
MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs
Normal file
50
MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using MediaBrowser.Common.Plugins;
|
||||
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>
|
||||
/// 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user