aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Weather/IWeatherProvider.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-02-21 01:02:10 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-02-21 01:02:10 -0500
commitae4ffa75be378497d8db210c6864cde40f7c75f9 (patch)
tree14d7a0610ff5117f3ea92ddaee71c219bbbc4865 /MediaBrowser.Controller/Weather/IWeatherProvider.cs
parentacf5b0b6ed173a3a9540d0585bd491a119d524cf (diff)
isolated weather and moved drawing classes up to the controller project
Diffstat (limited to 'MediaBrowser.Controller/Weather/IWeatherProvider.cs')
-rw-r--r--MediaBrowser.Controller/Weather/IWeatherProvider.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Weather/IWeatherProvider.cs b/MediaBrowser.Controller/Weather/IWeatherProvider.cs
new file mode 100644
index 000000000..9060e5b9c
--- /dev/null
+++ b/MediaBrowser.Controller/Weather/IWeatherProvider.cs
@@ -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);
+ }
+}