From edbe28d9fc3091121b7e2323fe42d62a70c9e351 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 23 Oct 2016 22:45:23 -0400 Subject: move interface to model --- MediaBrowser.Controller/Entities/BaseItem.cs | 2 +- .../Localization/ILocalizationManager.cs | 55 ---------------------- .../MediaBrowser.Controller.csproj | 1 - 3 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 MediaBrowser.Controller/Localization/ILocalizationManager.cs (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 4836aca8b4..2214691544 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -5,7 +5,6 @@ using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Drawing; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.LiveTv; -using MediaBrowser.Controller.Localization; using MediaBrowser.Controller.Persistence; using MediaBrowser.Controller.Providers; using MediaBrowser.Model.Configuration; @@ -27,6 +26,7 @@ using CommonIO; using MediaBrowser.Controller.Extensions; using MediaBrowser.Controller.Sorting; using MediaBrowser.Model.Extensions; +using MediaBrowser.Model.Globalization; using MediaBrowser.Model.LiveTv; using MediaBrowser.Model.Providers; diff --git a/MediaBrowser.Controller/Localization/ILocalizationManager.cs b/MediaBrowser.Controller/Localization/ILocalizationManager.cs deleted file mode 100644 index 5742d235cd..0000000000 --- a/MediaBrowser.Controller/Localization/ILocalizationManager.cs +++ /dev/null @@ -1,55 +0,0 @@ -using MediaBrowser.Model.Entities; -using MediaBrowser.Model.Globalization; -using System.Collections.Generic; - -namespace MediaBrowser.Controller.Localization -{ - /// - /// Interface ILocalizationManager - /// - public interface ILocalizationManager - { - /// - /// Gets the cultures. - /// - /// IEnumerable{CultureDto}. - IEnumerable GetCultures(); - /// - /// Gets the countries. - /// - /// IEnumerable{CountryInfo}. - IEnumerable GetCountries(); - /// - /// Gets the parental ratings. - /// - /// IEnumerable{ParentalRating}. - IEnumerable GetParentalRatings(); - /// - /// Gets the rating level. - /// - /// The rating. - /// System.Int32. - int? GetRatingLevel(string rating); - - /// - /// Gets the localized string. - /// - /// The phrase. - /// The culture. - /// System.String. - string GetLocalizedString(string phrase, string culture); - - /// - /// Gets the localized string. - /// - /// The phrase. - /// System.String. - string GetLocalizedString(string phrase); - - /// - /// Gets the localization options. - /// - /// IEnumerable{LocalizatonOption}. - IEnumerable GetLocalizationOptions(); - } -} diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index c00f7a334d..eb59c23b55 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -205,7 +205,6 @@ - -- cgit v1.2.3