using MediaBrowser.Common.Plugins;
using MediaBrowser.Controller.Plugins;
using System.ComponentModel.Composition;
using System.IO;
namespace MediaBrowser.Plugins.Trailers.Configuration
{
///
/// Class TrailerConfigurationPage
///
[Export(typeof(BaseConfigurationPage))]
class TrailerConfigurationPage : BaseConfigurationPage
{
///
/// Gets the name.
///
/// The name.
public override string Name
{
get { return "Trailers"; }
}
///
/// Gets the HTML stream.
///
/// Stream.
public override Stream GetHtmlStream()
{
return GetHtmlStreamFromManifestResource("MediaBrowser.Plugins.Trailers.Configuration.configPage.html");
}
///
/// Gets the owner plugin.
///
/// BasePlugin.
public override IPlugin GetOwnerPlugin()
{
return Plugin.Instance;
}
///
/// Gets the type of the configuration page.
///
/// The type of the configuration page.
public override ConfigurationPageType ConfigurationPageType
{
get { return ConfigurationPageType.PluginConfiguration; }
}
}
}