2013-06-03 18:15:35 +00:00
|
|
|
|
using MediaBrowser.Controller.Drawing;
|
2013-02-21 01:33:05 +00:00
|
|
|
|
using MediaBrowser.Controller.MediaInfo;
|
|
|
|
|
using MediaBrowser.Controller.Weather;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class Kernel
|
|
|
|
|
/// </summary>
|
2013-03-08 05:08:27 +00:00
|
|
|
|
public class Kernel
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the instance.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The instance.</value>
|
|
|
|
|
public static Kernel Instance { get; private set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the image manager.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The image manager.</value>
|
2013-03-08 05:08:27 +00:00
|
|
|
|
public ImageManager ImageManager { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the FFMPEG controller.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The FFMPEG controller.</value>
|
2013-03-08 05:08:27 +00:00
|
|
|
|
public FFMpegManager FFMpegManager { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the list of currently registered weather prvoiders
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The weather providers.</value>
|
2013-03-08 05:08:27 +00:00
|
|
|
|
public IEnumerable<IWeatherProvider> WeatherProviders { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a kernel based on a Data path, which is akin to our current programdata path
|
|
|
|
|
/// </summary>
|
2013-06-03 18:15:35 +00:00
|
|
|
|
public Kernel()
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
|
|
|
|
Instance = this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|