ILibraryMonitor.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma warning disable CS1591
  2. using System;
  3. namespace MediaBrowser.Controller.Library
  4. {
  5. public interface ILibraryMonitor : IDisposable
  6. {
  7. /// <summary>
  8. /// Starts this instance.
  9. /// </summary>
  10. void Start();
  11. /// <summary>
  12. /// Stops this instance.
  13. /// </summary>
  14. void Stop();
  15. /// <summary>
  16. /// Reports the file system change beginning.
  17. /// </summary>
  18. /// <param name="path">The path.</param>
  19. void ReportFileSystemChangeBeginning(string path);
  20. /// <summary>
  21. /// Reports the file system change complete.
  22. /// </summary>
  23. /// <param name="path">The path.</param>
  24. /// <param name="refreshPath">if set to <c>true</c> [refresh path].</param>
  25. void ReportFileSystemChangeComplete(string path, bool refreshPath);
  26. /// <summary>
  27. /// Reports the file system changed.
  28. /// </summary>
  29. /// <param name="path">The path.</param>
  30. void ReportFileSystemChanged(string path);
  31. }
  32. }