aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Themes/IAppThemeManager.cs
blob: 1a7c2aaabc67604216166acc01b34cc85dedf3a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using MediaBrowser.Model.Themes;
using System.Collections.Generic;

namespace MediaBrowser.Controller.Themes
{
    public interface IAppThemeManager
    {
        /// <summary>
        /// Gets the themes.
        /// </summary>
        /// <param name="applicationName">Name of the application.</param>
        /// <returns>IEnumerable{AppThemeInfo}.</returns>
        IEnumerable<AppThemeInfo> GetThemes(string applicationName);

        /// <summary>
        /// Gets the theme.
        /// </summary>
        /// <param name="applicationName">Name of the application.</param>
        /// <param name="name">The name.</param>
        /// <returns>AppTheme.</returns>
        AppTheme GetTheme(string applicationName, string name);

        /// <summary>
        /// Saves the theme.
        /// </summary>
        /// <param name="theme">The theme.</param>
        void SaveTheme(AppTheme theme);

        /// <summary>
        /// Gets the image image information.
        /// </summary>
        /// <param name="applicationName">Name of the application.</param>
        /// <param name="themeName">Name of the theme.</param>
        /// <param name="imageName">Name of the image.</param>
        /// <returns>InternalThemeImage.</returns>
        InternalThemeImage GetImageImageInfo(string applicationName, string themeName, string imageName);
    }
}