2020-08-22 12:56:24 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:01:16 -07:00
|
|
|
using System;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
|
|
|
public interface ILibraryMonitor : IDisposable
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Starts this instance.
|
|
|
|
/// </summary>
|
|
|
|
void Start();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Stops this instance.
|
|
|
|
/// </summary>
|
|
|
|
void Stop();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Reports the file system change beginning.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
void ReportFileSystemChangeBeginning(string path);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Reports the file system change complete.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
/// <param name="refreshPath">if set to <c>true</c> [refresh path].</param>
|
|
|
|
void ReportFileSystemChangeComplete(string path, bool refreshPath);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Reports the file system changed.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
void ReportFileSystemChanged(string path);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Determines whether [is path locked] [the specified path].
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
/// <returns><c>true</c> if [is path locked] [the specified path]; otherwise, <c>false</c>.</returns>
|
|
|
|
bool IsPathLocked(string path);
|
|
|
|
}
|
2019-01-13 12:30:58 -07:00
|
|
|
}
|