diff options
| author | stefan <stefan@hegedues.at> | 2018-09-12 19:26:21 +0200 |
|---|---|---|
| committer | stefan <stefan@hegedues.at> | 2018-09-12 19:26:21 +0200 |
| commit | 48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch) | |
| tree | 8dae77a31670a888d733484cb17dd4077d5444e8 /MediaBrowser.Controller/Dlna | |
| parent | c32d8656382a0eacb301692e0084377fc433ae9b (diff) | |
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'MediaBrowser.Controller/Dlna')
| -rw-r--r-- | MediaBrowser.Controller/Dlna/ControlRequest.cs | 21 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/ControlResponse.cs | 18 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/EventSubscriptionResponse.cs | 17 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IConnectionManager.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IContentDirectory.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IDlnaManager.cs | 76 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IEventManager.cs | 22 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IMediaReceiverRegistrar.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IUpnpService.cs | 21 |
9 files changed, 0 insertions, 196 deletions
diff --git a/MediaBrowser.Controller/Dlna/ControlRequest.cs b/MediaBrowser.Controller/Dlna/ControlRequest.cs deleted file mode 100644 index ff951ec9eb..0000000000 --- a/MediaBrowser.Controller/Dlna/ControlRequest.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Collections.Generic; -using System.IO; - -namespace MediaBrowser.Controller.Dlna -{ - public class ControlRequest - { - public IDictionary<string, string> Headers { get; set; } - - public Stream InputXml { get; set; } - - public string TargetServerUuId { get; set; } - - public string RequestedUrl { get; set; } - - public ControlRequest() - { - Headers = new Dictionary<string, string>(); - } - } -} diff --git a/MediaBrowser.Controller/Dlna/ControlResponse.cs b/MediaBrowser.Controller/Dlna/ControlResponse.cs deleted file mode 100644 index 8d19a81096..0000000000 --- a/MediaBrowser.Controller/Dlna/ControlResponse.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Collections.Generic; - -namespace MediaBrowser.Controller.Dlna -{ - public class ControlResponse - { - public IDictionary<string, string> Headers { get; set; } - - public string Xml { get; set; } - - public bool IsSuccessful { get; set; } - - public ControlResponse() - { - Headers = new Dictionary<string, string>(); - } - } -}
\ No newline at end of file diff --git a/MediaBrowser.Controller/Dlna/EventSubscriptionResponse.cs b/MediaBrowser.Controller/Dlna/EventSubscriptionResponse.cs deleted file mode 100644 index 8b551c2a7c..0000000000 --- a/MediaBrowser.Controller/Dlna/EventSubscriptionResponse.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Collections.Generic; - -namespace MediaBrowser.Controller.Dlna -{ - public class EventSubscriptionResponse - { - public string Content { get; set; } - public string ContentType { get; set; } - - public Dictionary<string, string> Headers { get; set; } - - public EventSubscriptionResponse() - { - Headers = new Dictionary<string, string>(); - } - } -} diff --git a/MediaBrowser.Controller/Dlna/IConnectionManager.cs b/MediaBrowser.Controller/Dlna/IConnectionManager.cs deleted file mode 100644 index 38d96e607b..0000000000 --- a/MediaBrowser.Controller/Dlna/IConnectionManager.cs +++ /dev/null @@ -1,7 +0,0 @@ - -namespace MediaBrowser.Controller.Dlna -{ - public interface IConnectionManager : IEventManager, IUpnpService - { - } -} diff --git a/MediaBrowser.Controller/Dlna/IContentDirectory.cs b/MediaBrowser.Controller/Dlna/IContentDirectory.cs deleted file mode 100644 index 28635d9b74..0000000000 --- a/MediaBrowser.Controller/Dlna/IContentDirectory.cs +++ /dev/null @@ -1,7 +0,0 @@ - -namespace MediaBrowser.Controller.Dlna -{ - public interface IContentDirectory : IEventManager, IUpnpService - { - } -} diff --git a/MediaBrowser.Controller/Dlna/IDlnaManager.cs b/MediaBrowser.Controller/Dlna/IDlnaManager.cs deleted file mode 100644 index 2f64cd1946..0000000000 --- a/MediaBrowser.Controller/Dlna/IDlnaManager.cs +++ /dev/null @@ -1,76 +0,0 @@ -using MediaBrowser.Controller.Drawing; -using MediaBrowser.Model.Dlna; -using System.Collections.Generic; - -namespace MediaBrowser.Controller.Dlna -{ - public interface IDlnaManager - { - /// <summary> - /// Gets the profile infos. - /// </summary> - /// <returns>IEnumerable{DeviceProfileInfo}.</returns> - IEnumerable<DeviceProfileInfo> GetProfileInfos(); - - /// <summary> - /// Gets the profile. - /// </summary> - /// <param name="headers">The headers.</param> - /// <returns>DeviceProfile.</returns> - DeviceProfile GetProfile(IDictionary<string,string> headers); - - /// <summary> - /// Gets the default profile. - /// </summary> - /// <returns>DeviceProfile.</returns> - DeviceProfile GetDefaultProfile(); - - /// <summary> - /// Creates the profile. - /// </summary> - /// <param name="profile">The profile.</param> - void CreateProfile(DeviceProfile profile); - - /// <summary> - /// Updates the profile. - /// </summary> - /// <param name="profile">The profile.</param> - void UpdateProfile(DeviceProfile profile); - - /// <summary> - /// Deletes the profile. - /// </summary> - /// <param name="id">The identifier.</param> - void DeleteProfile(string id); - - /// <summary> - /// Gets the profile. - /// </summary> - /// <param name="id">The identifier.</param> - /// <returns>DeviceProfile.</returns> - DeviceProfile GetProfile(string id); - - /// <summary> - /// Gets the profile. - /// </summary> - /// <param name="deviceInfo">The device information.</param> - /// <returns>DeviceProfile.</returns> - DeviceProfile GetProfile(DeviceIdentification deviceInfo); - - /// <summary> - /// Gets the server description XML. - /// </summary> - /// <param name="headers">The headers.</param> - /// <param name="serverUuId">The server uu identifier.</param> - /// <param name="serverAddress">The server address.</param> - /// <returns>System.String.</returns> - string GetServerDescriptionXml(IDictionary<string, string> headers, string serverUuId, string serverAddress); - - /// <summary> - /// Gets the icon. - /// </summary> - /// <param name="filename">The filename.</param> - /// <returns>DlnaIconResponse.</returns> - ImageStream GetIcon(string filename); - } -} diff --git a/MediaBrowser.Controller/Dlna/IEventManager.cs b/MediaBrowser.Controller/Dlna/IEventManager.cs deleted file mode 100644 index 3af357a174..0000000000 --- a/MediaBrowser.Controller/Dlna/IEventManager.cs +++ /dev/null @@ -1,22 +0,0 @@ - -namespace MediaBrowser.Controller.Dlna -{ - public interface IEventManager - { - /// <summary> - /// Cancels the event subscription. - /// </summary> - /// <param name="subscriptionId">The subscription identifier.</param> - EventSubscriptionResponse CancelEventSubscription(string subscriptionId); - - /// <summary> - /// Renews the event subscription. - /// </summary> - EventSubscriptionResponse RenewEventSubscription(string subscriptionId, string notificationType, string requestedTimeoutString, string callbackUrl); - - /// <summary> - /// Creates the event subscription. - /// </summary> - EventSubscriptionResponse CreateEventSubscription(string notificationType, string requestedTimeoutString, string callbackUrl); - } -} diff --git a/MediaBrowser.Controller/Dlna/IMediaReceiverRegistrar.cs b/MediaBrowser.Controller/Dlna/IMediaReceiverRegistrar.cs deleted file mode 100644 index 6b76783a5d..0000000000 --- a/MediaBrowser.Controller/Dlna/IMediaReceiverRegistrar.cs +++ /dev/null @@ -1,7 +0,0 @@ - -namespace MediaBrowser.Controller.Dlna -{ - public interface IMediaReceiverRegistrar : IEventManager, IUpnpService - { - } -} diff --git a/MediaBrowser.Controller/Dlna/IUpnpService.cs b/MediaBrowser.Controller/Dlna/IUpnpService.cs deleted file mode 100644 index 3511740ad2..0000000000 --- a/MediaBrowser.Controller/Dlna/IUpnpService.cs +++ /dev/null @@ -1,21 +0,0 @@ -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); - } -} |
