From 1774e5b1ac9f809fd97c1d95666fc563afa87914 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 20 May 2014 20:56:24 -0400 Subject: added upnp ConnectionManager.cs --- MediaBrowser.Controller/Dlna/IConnectionManager.cs | 7 +++++++ MediaBrowser.Controller/Dlna/IContentDirectory.cs | 18 ++---------------- MediaBrowser.Controller/Dlna/IUpnpService.cs | 21 +++++++++++++++++++++ .../MediaBrowser.Controller.csproj | 2 ++ 4 files changed, 32 insertions(+), 16 deletions(-) create mode 100644 MediaBrowser.Controller/Dlna/IConnectionManager.cs create mode 100644 MediaBrowser.Controller/Dlna/IUpnpService.cs (limited to 'MediaBrowser.Controller') 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 { - /// - /// Gets the content directory XML. - /// - /// The headers. - /// System.String. - string GetContentDirectoryXml(IDictionary headers); - - /// - /// Processes the control request. - /// - /// The request. - /// ControlResponse. - 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 + { + /// + /// Gets the content directory XML. + /// + /// The headers. + /// System.String. + string GetServiceXml(IDictionary headers); + + /// + /// Processes the control request. + /// + /// The request. + /// ControlResponse. + ControlResponse ProcessControlRequest(ControlRequest request); + } +} diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj index bab550e451..fa7842a684 100644 --- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj +++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj @@ -92,9 +92,11 @@ + + -- cgit v1.2.3