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/IPluginConfigurationPage.cs | |
| parent | 868a7ce9c8b50bd64c8b5ae33fec77abfd25ef7c (diff) | |
moved Plugins to separate repo
Diffstat (limited to 'MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs')
| -rw-r--r-- | MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs b/MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs new file mode 100644 index 000000000..38fe36857 --- /dev/null +++ b/MediaBrowser.Controller/Plugins/IPluginConfigurationPage.cs @@ -0,0 +1,61 @@ +using System; +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 id. + /// </summary> + /// <value>The plugin id.</value> + Guid? PluginId { get; } + + /// <summary> + /// Gets the HTML stream. + /// </summary> + /// <returns>Stream.</returns> + Stream GetHtmlStream(); + + /// <summary> + /// Gets the version. Typically taken from Plugin.Version + /// </summary> + /// <value>The version.</value> + string Version { get; } + + /// <summary> + /// For http caching purposes. Typically taken from Plugin.AssemblyDateLastModified + /// </summary> + DateTime DateLastModified { get; } + } + + /// <summary> + /// Enum ConfigurationPageType + /// </summary> + public enum ConfigurationPageType + { + /// <summary> + /// The plugin configuration + /// </summary> + PluginConfiguration, + /// <summary> + /// The none + /// </summary> + None + } +} |
