aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Dlna
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-20 20:56:24 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-20 20:56:24 -0400
commit1774e5b1ac9f809fd97c1d95666fc563afa87914 (patch)
treef0c2c3f84de84def4f9e80d1f187069e4763f496 /MediaBrowser.Controller/Dlna
parentad3c30c14535780fcbd11b049603991e8d3cfe9e (diff)
added upnp ConnectionManager.cs
Diffstat (limited to 'MediaBrowser.Controller/Dlna')
-rw-r--r--MediaBrowser.Controller/Dlna/IConnectionManager.cs7
-rw-r--r--MediaBrowser.Controller/Dlna/IContentDirectory.cs18
-rw-r--r--MediaBrowser.Controller/Dlna/IUpnpService.cs21
3 files changed, 30 insertions, 16 deletions
diff --git a/MediaBrowser.Controller/Dlna/IConnectionManager.cs b/MediaBrowser.Controller/Dlna/IConnectionManager.cs
new file mode 100644
index 0000000000..942e523e88
--- /dev/null
+++ b/MediaBrowser.Controller/Dlna/IConnectionManager.cs
@@ -0,0 +1,7 @@
+
+namespace MediaBrowser.Controller.Dlna
+{
+ public interface IConnectionManager : IUpnpService
+ {
+ }
+}
diff --git a/MediaBrowser.Controller/Dlna/IContentDirectory.cs b/MediaBrowser.Controller/Dlna/IContentDirectory.cs
index e48d498dfe..00c236813b 100644
--- a/MediaBrowser.Controller/Dlna/IContentDirectory.cs
+++ b/MediaBrowser.Controller/Dlna/IContentDirectory.cs
@@ -1,21 +1,7 @@
-using System.Collections.Generic;
-
+
namespace MediaBrowser.Controller.Dlna
{
- public interface IContentDirectory
+ public interface IContentDirectory : IUpnpService
{
- /// <summary>
- /// Gets the content directory XML.
- /// </summary>
- /// <param name="headers">The headers.</param>
- /// <returns>System.String.</returns>
- string GetContentDirectoryXml(IDictionary<string, string> headers);
-
- /// <summary>
- /// Processes the control request.
- /// </summary>
- /// <param name="request">The request.</param>
- /// <returns>ControlResponse.</returns>
- ControlResponse ProcessControlRequest(ControlRequest request);
}
}
diff --git a/MediaBrowser.Controller/Dlna/IUpnpService.cs b/MediaBrowser.Controller/Dlna/IUpnpService.cs
new file mode 100644
index 0000000000..3511740ad2
--- /dev/null
+++ b/MediaBrowser.Controller/Dlna/IUpnpService.cs
@@ -0,0 +1,21 @@
+using System.Collections.Generic;
+
+namespace MediaBrowser.Controller.Dlna
+{
+ public interface IUpnpService
+ {
+ /// <summary>
+ /// Gets the content directory XML.
+ /// </summary>
+ /// <param name="headers">The headers.</param>
+ /// <returns>System.String.</returns>
+ string GetServiceXml(IDictionary<string, string> headers);
+
+ /// <summary>
+ /// Processes the control request.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns>ControlResponse.</returns>
+ ControlResponse ProcessControlRequest(ControlRequest request);
+ }
+}