Kernel.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using MediaBrowser.Controller.Drawing;
  2. using MediaBrowser.Controller.MediaInfo;
  3. using MediaBrowser.Controller.Weather;
  4. using System.Collections.Generic;
  5. namespace MediaBrowser.Controller
  6. {
  7. /// <summary>
  8. /// Class Kernel
  9. /// </summary>
  10. public class Kernel
  11. {
  12. /// <summary>
  13. /// Gets the instance.
  14. /// </summary>
  15. /// <value>The instance.</value>
  16. public static Kernel Instance { get; private set; }
  17. /// <summary>
  18. /// Gets the image manager.
  19. /// </summary>
  20. /// <value>The image manager.</value>
  21. public ImageManager ImageManager { get; set; }
  22. /// <summary>
  23. /// Gets the FFMPEG controller.
  24. /// </summary>
  25. /// <value>The FFMPEG controller.</value>
  26. public FFMpegManager FFMpegManager { get; set; }
  27. /// <summary>
  28. /// Gets the list of currently registered weather prvoiders
  29. /// </summary>
  30. /// <value>The weather providers.</value>
  31. public IEnumerable<IWeatherProvider> WeatherProviders { get; set; }
  32. /// <summary>
  33. /// Creates a kernel based on a Data path, which is akin to our current programdata path
  34. /// </summary>
  35. public Kernel()
  36. {
  37. Instance = this;
  38. }
  39. }
  40. }