isolated weather and moved drawing classes up to the controller project

This commit is contained in:
LukePulverenti
2013-02-21 01:02:10 -05:00
parent acf5b0b6ed
commit ae4ffa75be
21 changed files with 252 additions and 81 deletions

View File

@@ -0,0 +1,20 @@
using MediaBrowser.Model.Weather;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Weather
{
/// <summary>
/// Interface IWeatherProvider
/// </summary>
public interface IWeatherProvider
{
/// <summary>
/// Gets the weather info async.
/// </summary>
/// <param name="location">The location.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{WeatherInfo}.</returns>
Task<WeatherInfo> GetWeatherInfoAsync(string location, CancellationToken cancellationToken);
}
}