aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/ILocalPlayer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Dlna/ILocalPlayer.cs')
-rw-r--r--MediaBrowser.Model/Dlna/ILocalPlayer.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Dlna/ILocalPlayer.cs b/MediaBrowser.Model/Dlna/ILocalPlayer.cs
new file mode 100644
index 000000000..55e11ec4b
--- /dev/null
+++ b/MediaBrowser.Model/Dlna/ILocalPlayer.cs
@@ -0,0 +1,26 @@
+
+namespace MediaBrowser.Model.Dlna
+{
+ public interface ILocalPlayer
+ {
+ /// <summary>
+ /// Determines whether this instance [can access file] the specified path.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns><c>true</c> if this instance [can access file] the specified path; otherwise, <c>false</c>.</returns>
+ bool CanAccessFile(string path);
+ /// <summary>
+ /// Determines whether this instance [can access directory] the specified path.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns><c>true</c> if this instance [can access directory] the specified path; otherwise, <c>false</c>.</returns>
+ bool CanAccessDirectory(string path);
+ /// <summary>
+ /// Determines whether this instance [can access URL] the specified URL.
+ /// </summary>
+ /// <param name="url">The URL.</param>
+ /// <param name="requiresCustomRequestHeaders">if set to <c>true</c> [requires custom request headers].</param>
+ /// <returns><c>true</c> if this instance [can access URL] the specified URL; otherwise, <c>false</c>.</returns>
+ bool CanAccessUrl(string url, bool requiresCustomRequestHeaders);
+ }
+}