diff options
Diffstat (limited to 'MediaBrowser.Controller/IO/IDirectoryWatchers.cs')
| -rw-r--r-- | MediaBrowser.Controller/IO/IDirectoryWatchers.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/IO/IDirectoryWatchers.cs b/MediaBrowser.Controller/IO/IDirectoryWatchers.cs new file mode 100644 index 000000000..9a43ee8ac --- /dev/null +++ b/MediaBrowser.Controller/IO/IDirectoryWatchers.cs @@ -0,0 +1,29 @@ +using System; + +namespace MediaBrowser.Controller.IO +{ + public interface IDirectoryWatchers : IDisposable + { + /// <summary> + /// Add the path to our temporary ignore list. Use when writing to a path within our listening scope. + /// </summary> + /// <param name="path">The path.</param> + void TemporarilyIgnore(string path); + + /// <summary> + /// Removes the temp ignore. + /// </summary> + /// <param name="path">The path.</param> + void RemoveTempIgnore(string path); + + /// <summary> + /// Starts this instance. + /// </summary> + void Start(); + + /// <summary> + /// Stops this instance. + /// </summary> + void Stop(); + } +}
\ No newline at end of file |
