aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/IUpnpService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/IUpnpService.cs')
-rw-r--r--Emby.Dlna/IUpnpService.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Emby.Dlna/IUpnpService.cs b/Emby.Dlna/IUpnpService.cs
new file mode 100644
index 000000000..caae87ba3
--- /dev/null
+++ b/Emby.Dlna/IUpnpService.cs
@@ -0,0 +1,21 @@
+using System.Collections.Generic;
+
+namespace Emby.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);
+ }
+}