diff options
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IConnectionManager.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IContentDirectory.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Dlna/IEventManager.cs | 20 |
3 files changed, 3 insertions, 21 deletions
diff --git a/MediaBrowser.Controller/Dlna/IConnectionManager.cs b/MediaBrowser.Controller/Dlna/IConnectionManager.cs index 942e523e8..38d96e607 100644 --- a/MediaBrowser.Controller/Dlna/IConnectionManager.cs +++ b/MediaBrowser.Controller/Dlna/IConnectionManager.cs @@ -1,7 +1,7 @@ namespace MediaBrowser.Controller.Dlna { - public interface IConnectionManager : IUpnpService + public interface IConnectionManager : IEventManager, IUpnpService { } } diff --git a/MediaBrowser.Controller/Dlna/IContentDirectory.cs b/MediaBrowser.Controller/Dlna/IContentDirectory.cs index 00c236813..28635d9b7 100644 --- a/MediaBrowser.Controller/Dlna/IContentDirectory.cs +++ b/MediaBrowser.Controller/Dlna/IContentDirectory.cs @@ -1,7 +1,7 @@ namespace MediaBrowser.Controller.Dlna { - public interface IContentDirectory : IUpnpService + public interface IContentDirectory : IEventManager, IUpnpService { } } diff --git a/MediaBrowser.Controller/Dlna/IEventManager.cs b/MediaBrowser.Controller/Dlna/IEventManager.cs index 4abf623a9..54e2a02dd 100644 --- a/MediaBrowser.Controller/Dlna/IEventManager.cs +++ b/MediaBrowser.Controller/Dlna/IEventManager.cs @@ -1,7 +1,4 @@ -using MediaBrowser.Model.Dlna; -using System.Collections.Generic; -using System.Threading.Tasks; - + namespace MediaBrowser.Controller.Dlna { public interface IEventManager @@ -28,20 +25,5 @@ namespace MediaBrowser.Controller.Dlna /// <param name="callbackUrl">The callback URL.</param> /// <returns>EventSubscriptionResponse.</returns> EventSubscriptionResponse CreateEventSubscription(string notificationType, int? timeoutSeconds, string callbackUrl); - - /// <summary> - /// Gets the subscription. - /// </summary> - /// <param name="id">The identifier.</param> - /// <returns>EventSubscription.</returns> - EventSubscription GetSubscription(string id); - - /// <summary> - /// Triggers the event. - /// </summary> - /// <param name="notificationType">Type of the notification.</param> - /// <param name="stateVariables">The state variables.</param> - /// <returns>Task.</returns> - Task TriggerEvent(string notificationType, IDictionary<string,string> stateVariables); } } |
