IAppThemeManager.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using MediaBrowser.Model.Themes;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Controller.Themes
  4. {
  5. public interface IAppThemeManager
  6. {
  7. /// <summary>
  8. /// Gets the themes.
  9. /// </summary>
  10. /// <param name="applicationName">Name of the application.</param>
  11. /// <returns>IEnumerable{AppThemeInfo}.</returns>
  12. IEnumerable<AppThemeInfo> GetThemes(string applicationName);
  13. /// <summary>
  14. /// Gets the theme.
  15. /// </summary>
  16. /// <param name="applicationName">Name of the application.</param>
  17. /// <param name="name">The name.</param>
  18. /// <returns>AppTheme.</returns>
  19. AppTheme GetTheme(string applicationName, string name);
  20. /// <summary>
  21. /// Saves the theme.
  22. /// </summary>
  23. /// <param name="theme">The theme.</param>
  24. void SaveTheme(AppTheme theme);
  25. /// <summary>
  26. /// Gets the image image information.
  27. /// </summary>
  28. /// <param name="applicationName">Name of the application.</param>
  29. /// <param name="themeName">Name of the theme.</param>
  30. /// <param name="imageName">Name of the image.</param>
  31. /// <returns>InternalThemeImage.</returns>
  32. InternalThemeImage GetImageImageInfo(string applicationName, string themeName, string imageName);
  33. }
  34. }