diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-22 01:28:57 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-22 01:28:57 -0500 |
| commit | 746c5d2fa7cd14f648c72a87ce52e5096c1f03f1 (patch) | |
| tree | c2e9dbac2110c8c881ff82af01572b796c931c6f /MediaBrowser.Controller/Plugins/BaseConfigurationPage.cs | |
| parent | 868a7ce9c8b50bd64c8b5ae33fec77abfd25ef7c (diff) | |
moved Plugins to separate repo
Diffstat (limited to 'MediaBrowser.Controller/Plugins/BaseConfigurationPage.cs')
| -rw-r--r-- | MediaBrowser.Controller/Plugins/BaseConfigurationPage.cs | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/MediaBrowser.Controller/Plugins/BaseConfigurationPage.cs b/MediaBrowser.Controller/Plugins/BaseConfigurationPage.cs deleted file mode 100644 index dc9405840..000000000 --- a/MediaBrowser.Controller/Plugins/BaseConfigurationPage.cs +++ /dev/null @@ -1,81 +0,0 @@ -using MediaBrowser.Common.Plugins; -using System.IO; - -namespace MediaBrowser.Controller.Plugins -{ - /// <summary> - /// Class BaseConfigurationPage - /// </summary> - public abstract class BaseConfigurationPage - { - /// <summary> - /// Gets the name. - /// </summary> - /// <value>The name.</value> - public abstract string Name { get; } - - /// <summary> - /// Gets the description. - /// </summary> - /// <value>The description.</value> - public virtual string Description - { - get { return string.Empty; } - } - - /// <summary> - /// Gets the type of the configuration page. - /// </summary> - /// <value>The type of the configuration page.</value> - public virtual ConfigurationPageType ConfigurationPageType - { - get { return ConfigurationPageType.PluginConfiguration; } - } - - /// <summary> - /// Gets the HTML stream from manifest resource. - /// </summary> - /// <param name="resource">The resource.</param> - /// <returns>Stream.</returns> - protected Stream GetHtmlStreamFromManifestResource(string resource) - { - return GetType().Assembly.GetManifestResourceStream(resource); - } - - /// <summary> - /// Gets the HTML stream. - /// </summary> - /// <returns>Stream.</returns> - public abstract Stream GetHtmlStream(); - - /// <summary> - /// Gets the name of the plugin. - /// </summary> - /// <value>The name of the plugin.</value> - public virtual string OwnerPluginName - { - get { return GetOwnerPlugin().Name; } - } - - /// <summary> - /// Gets the owner plugin. - /// </summary> - /// <returns>BasePlugin.</returns> - public abstract IPlugin GetOwnerPlugin(); - } - - /// <summary> - /// Enum ConfigurationPageType - /// </summary> - public enum ConfigurationPageType - { - /// <summary> - /// The plugin configuration - /// </summary> - PluginConfiguration, - /// <summary> - /// The none - /// </summary> - None - } -} |
