mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
36 lines
1 KiB
C#
36 lines
1 KiB
C#
|
using System;
|
|||
|
|
|||
|
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);
|
|||
|
}
|
|||
|
}
|