From 0cfc20ac0899d83f2bed2af140bee20fc4b32a78 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 26 Mar 2014 16:14:47 -0400 Subject: stub out profile edit page --- MediaBrowser.Controller/Dlna/DeviceProfile.cs | 7 +++++-- MediaBrowser.Controller/Dlna/IDlnaManager.cs | 12 ++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Controller') 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; } + /// /// Gets or sets the identification. /// 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 @@ -24,6 +24,18 @@ namespace MediaBrowser.Controller.Dlna /// DeviceProfile. DeviceProfile GetDefaultProfile(); + /// + /// Creates the profile. + /// + /// The profile. + void CreateProfile(DeviceProfile profile); + + /// + /// Updates the profile. + /// + /// The profile. + void UpdateProfile(DeviceProfile profile); + /// /// Deletes the profile. /// -- cgit v1.2.3