using System;
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 id.
///
/// The plugin id.
Guid? PluginId { get; }
///
/// Gets the HTML stream.
///
/// Stream.
Stream GetHtmlStream();
///
/// Gets the version. Typically taken from Plugin.Version
///
/// The version.
string Version { get; }
///
/// For http caching purposes. Typically taken from Plugin.AssemblyDateLastModified
///
DateTime DateLastModified { get; }
}
///
/// Enum ConfigurationPageType
///
public enum ConfigurationPageType
{
///
/// The plugin configuration
///
PluginConfiguration,
///
/// The none
///
None
}
}