aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IO/IDirectoryWatchers.cs
blob: 9a43ee8acf21f3f77a532d1ad98374c41257180f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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();
    }
}