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