mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using MediaBrowser.Model.Entities;
|
|
using MediaBrowser.Model.Globalization;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Controller.Localization
|
|
{
|
|
/// <summary>
|
|
/// Interface ILocalizationManager
|
|
/// </summary>
|
|
public interface ILocalizationManager
|
|
{
|
|
/// <summary>
|
|
/// Gets the cultures.
|
|
/// </summary>
|
|
/// <returns>IEnumerable{CultureDto}.</returns>
|
|
IEnumerable<CultureDto> GetCultures();
|
|
/// <summary>
|
|
/// Gets the countries.
|
|
/// </summary>
|
|
/// <returns>IEnumerable{CountryInfo}.</returns>
|
|
IEnumerable<CountryInfo> GetCountries();
|
|
/// <summary>
|
|
/// Gets the parental ratings.
|
|
/// </summary>
|
|
/// <returns>IEnumerable{ParentalRating}.</returns>
|
|
IEnumerable<ParentalRating> GetParentalRatings();
|
|
/// <summary>
|
|
/// Gets the rating level.
|
|
/// </summary>
|
|
/// <param name="rating">The rating.</param>
|
|
/// <returns>System.Int32.</returns>
|
|
int? GetRatingLevel(string rating);
|
|
}
|
|
}
|