2012-09-02 13:34:12 -04:00
|
|
|
|
using MediaBrowser.Model.Weather;
|
2012-09-08 16:25:56 -04:00
|
|
|
|
using ProtoBuf;
|
2012-09-02 13:34:12 -04:00
|
|
|
|
|
2012-09-02 09:45:02 -04:00
|
|
|
|
namespace MediaBrowser.Model.Configuration
|
2012-07-21 14:39:47 -04:00
|
|
|
|
{
|
2012-09-08 16:25:56 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents the server configuration.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[ProtoContract]
|
2012-07-29 11:19:25 -04:00
|
|
|
|
public class ServerConfiguration : BaseApplicationConfiguration
|
2012-07-21 14:39:47 -04:00
|
|
|
|
{
|
2012-09-08 16:25:56 -04:00
|
|
|
|
[ProtoMember(3)]
|
2012-08-20 23:32:59 -04:00
|
|
|
|
public bool EnableInternetProviders { get; set; }
|
2012-09-08 16:25:56 -04:00
|
|
|
|
|
|
|
|
|
|
[ProtoMember(4)]
|
2012-09-02 10:11:58 -04:00
|
|
|
|
public bool EnableUserProfiles { get; set; }
|
|
|
|
|
|
|
2012-09-08 16:25:56 -04:00
|
|
|
|
[ProtoMember(5)]
|
2012-09-02 13:34:12 -04:00
|
|
|
|
public string WeatherZipCode { get; set; }
|
2012-09-08 16:25:56 -04:00
|
|
|
|
|
|
|
|
|
|
[ProtoMember(6)]
|
2012-09-02 13:34:12 -04:00
|
|
|
|
public WeatherUnits WeatherUnit { get; set; }
|
|
|
|
|
|
|
2012-09-02 10:11:58 -04:00
|
|
|
|
public ServerConfiguration()
|
|
|
|
|
|
: base()
|
|
|
|
|
|
{
|
|
|
|
|
|
EnableUserProfiles = true;
|
|
|
|
|
|
}
|
2012-07-21 14:39:47 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|