jellyfin/MediaBrowser.Model/Configuration/ServerConfiguration.cs
LukePulverenti Luke Pulverenti luke pulverenti 50f88997ba Added protobuf support for serializing ServerConfiguration
2012-09-08 16:25:56 -04:00

31 lines
750 B
C#

using MediaBrowser.Model.Weather;
using ProtoBuf;
namespace MediaBrowser.Model.Configuration
{
/// <summary>
/// Represents the server configuration.
/// </summary>
[ProtoContract]
public class ServerConfiguration : BaseApplicationConfiguration
{
[ProtoMember(3)]
public bool EnableInternetProviders { get; set; }
[ProtoMember(4)]
public bool EnableUserProfiles { get; set; }
[ProtoMember(5)]
public string WeatherZipCode { get; set; }
[ProtoMember(6)]
public WeatherUnits WeatherUnit { get; set; }
public ServerConfiguration()
: base()
{
EnableUserProfiles = true;
}
}
}