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