IPluginConfigurationPage.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System.IO;
  2. using MediaBrowser.Common.Plugins;
  3. namespace MediaBrowser.Controller.Plugins
  4. {
  5. /// <summary>
  6. /// Interface IConfigurationPage.
  7. /// </summary>
  8. public interface IPluginConfigurationPage
  9. {
  10. /// <summary>
  11. /// Gets the name.
  12. /// </summary>
  13. /// <value>The name.</value>
  14. string Name { get; }
  15. /// <summary>
  16. /// Gets the type of the configuration page.
  17. /// </summary>
  18. /// <value>The type of the configuration page.</value>
  19. ConfigurationPageType ConfigurationPageType { get; }
  20. /// <summary>
  21. /// Gets the plugin.
  22. /// </summary>
  23. /// <value>The plugin.</value>
  24. IPlugin Plugin { get; }
  25. /// <summary>
  26. /// Gets the HTML stream.
  27. /// </summary>
  28. /// <returns>Stream.</returns>
  29. Stream GetHtmlStream();
  30. }
  31. /// <summary>
  32. /// Enum ConfigurationPageType.
  33. /// </summary>
  34. public enum ConfigurationPageType
  35. {
  36. /// <summary>
  37. /// The plugin configuration.
  38. /// </summary>
  39. PluginConfiguration,
  40. /// <summary>
  41. /// The none.
  42. /// </summary>
  43. None
  44. }
  45. }