2
0

ILibraryMonitor.cs 1.0 KB

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