initial code

initial code
This commit is contained in:
CompoUK
2015-03-08 14:20:49 +00:00
parent 5658418d9e
commit 4f99e72bfe
12 changed files with 2324 additions and 0 deletions
@@ -0,0 +1,44 @@
using System.IO;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Controller.Plugins;
namespace MediaBrowser.Plugins.VuPlus.Configuration
{
/// <summary>
/// Class VuPlusConfigurationPage
/// </summary>
class VuPlusConfigurationPage : IPluginConfigurationPage
{
/// <summary>
/// Gets the type of the configuration page.
/// </summary>
/// <value>The type of the configuration page.</value>
public ConfigurationPageType ConfigurationPageType
{
get { return ConfigurationPageType.PluginConfiguration; }
}
/// <summary>
/// Gets the HTML stream.
/// </summary>
/// <returns>Stream.</returns>
public Stream GetHtmlStream()
{
return GetType().Assembly.GetManifestResourceStream("MediaBrowser.Plugins.VuPlus.Configuration.configPage.html");
}
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
public string Name
{
get { return "VuPlus"; }
}
public IPlugin Plugin
{
get { return VuPlus.Plugin.Instance; }
}
}
}