From 767cdc1f6f6a63ce997fc9476911e2c361f9d402 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Wed, 20 Feb 2013 20:33:05 -0500 Subject: Pushing missing changes --- .../Configuration/UserConfiguration.cs | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 MediaBrowser.Model/Configuration/UserConfiguration.cs (limited to 'MediaBrowser.Model/Configuration/UserConfiguration.cs') diff --git a/MediaBrowser.Model/Configuration/UserConfiguration.cs b/MediaBrowser.Model/Configuration/UserConfiguration.cs new file mode 100644 index 000000000..d8db52977 --- /dev/null +++ b/MediaBrowser.Model/Configuration/UserConfiguration.cs @@ -0,0 +1,61 @@ +using ProtoBuf; + +namespace MediaBrowser.Model.Configuration +{ + /// + /// Class UserConfiguration + /// + [ProtoContract] + public class UserConfiguration + { + /// + /// Gets or sets the max parental rating. + /// + /// The max parental rating. + [ProtoMember(1)] + public int? MaxParentalRating { get; set; } + + /// + /// Gets or sets a value indicating whether [use custom library]. + /// + /// true if [use custom library]; otherwise, false. + [ProtoMember(2)] + public bool UseCustomLibrary { get; set; } + + /// + /// Gets or sets a value indicating whether this instance is administrator. + /// + /// true if this instance is administrator; otherwise, false. + [ProtoMember(3)] + public bool IsAdministrator { get; set; } + + /// + /// Gets or sets the audio language preference. + /// + /// The audio language preference. + [ProtoMember(4)] + public string AudioLanguagePreference { get; set; } + + /// + /// Gets or sets the subtitle language preference. + /// + /// The subtitle language preference. + [ProtoMember(5)] + public string SubtitleLanguagePreference { get; set; } + + /// + /// Gets or sets a value indicating whether [use forced subtitles only]. + /// + /// true if [use forced subtitles only]; otherwise, false. + [ProtoMember(6)] + public bool UseForcedSubtitlesOnly { get; set; } + + /// + /// Initializes a new instance of the class. + /// + public UserConfiguration() + { + IsAdministrator = true; + } + } +} -- cgit v1.2.3