aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-26 16:14:47 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-26 16:14:47 -0400
commit0cfc20ac0899d83f2bed2af140bee20fc4b32a78 (patch)
tree5e8b24c240ea0b8ded12d899e96bb49c3592f1f3 /MediaBrowser.Controller
parent6a5b64bcb4764eb9cf68fd61960f0f5bb558ecd4 (diff)
stub out profile edit page
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Dlna/DeviceProfile.cs7
-rw-r--r--MediaBrowser.Controller/Dlna/IDlnaManager.cs12
2 files changed, 17 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Dlna/DeviceProfile.cs b/MediaBrowser.Controller/Dlna/DeviceProfile.cs
index d0c2dcc1a..5950698fb 100644
--- a/MediaBrowser.Controller/Dlna/DeviceProfile.cs
+++ b/MediaBrowser.Controller/Dlna/DeviceProfile.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Model.Entities;
+using MediaBrowser.Model.Dlna;
+using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -17,9 +18,11 @@ namespace MediaBrowser.Controller.Dlna
public string Name { get; set; }
[XmlIgnore]
- [IgnoreDataMember]
public string Id { get; set; }
+ [XmlIgnore]
+ public DeviceProfileType ProfileType { get; set; }
+
/// <summary>
/// Gets or sets the identification.
/// </summary>
diff --git a/MediaBrowser.Controller/Dlna/IDlnaManager.cs b/MediaBrowser.Controller/Dlna/IDlnaManager.cs
index eb4b65e14..521d17e01 100644
--- a/MediaBrowser.Controller/Dlna/IDlnaManager.cs
+++ b/MediaBrowser.Controller/Dlna/IDlnaManager.cs
@@ -25,6 +25,18 @@ namespace MediaBrowser.Controller.Dlna
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>