2013-06-06 14:33:11 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using MediaBrowser.Model.Globalization;
|
|
|
|
|
using System.Collections.Generic;
|
2013-06-11 02:34:55 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2013-06-06 14:33:11 +00:00
|
|
|
|
|
|
|
|
|
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();
|
2013-06-10 17:46:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the rating level.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="rating">The rating.</param>
|
|
|
|
|
/// <returns>System.Int32.</returns>
|
|
|
|
|
int? GetRatingLevel(string rating);
|
2013-06-06 14:33:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|