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