aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/ILibraryMonitor.cs
diff options
context:
space:
mode:
authorAndrew Rabert <ar@nullsum.net>2018-12-27 18:27:57 -0500
committerAndrew Rabert <ar@nullsum.net>2018-12-27 18:27:57 -0500
commita86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 (patch)
treea74f6ea4a8abfa1664a605d31d48bc38245ccf58 /MediaBrowser.Controller/Library/ILibraryMonitor.cs
parent9bac3ac616b01f67db98381feb09d34ebe821f9a (diff)
Add GPL modules
Diffstat (limited to 'MediaBrowser.Controller/Library/ILibraryMonitor.cs')
-rw-r--r--MediaBrowser.Controller/Library/ILibraryMonitor.cs43
1 files changed, 43 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/ILibraryMonitor.cs b/MediaBrowser.Controller/Library/ILibraryMonitor.cs
new file mode 100644
index 000000000..e965e47d6
--- /dev/null
+++ b/MediaBrowser.Controller/Library/ILibraryMonitor.cs
@@ -0,0 +1,43 @@
+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);
+
+ /// <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);
+ }
+} \ No newline at end of file