2012-07-23 15:05:30 +00:00
|
|
|
|
using System.Collections.Generic;
|
2012-07-24 14:54:34 +00:00
|
|
|
|
using MediaBrowser.Model.Configuration;
|
2012-07-21 18:39:47 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Configuration
|
|
|
|
|
{
|
2012-07-29 15:19:25 +00:00
|
|
|
|
public class ServerConfiguration : BaseApplicationConfiguration
|
2012-07-21 18:39:47 +00:00
|
|
|
|
{
|
|
|
|
|
public string ImagesByNamePath { get; set; }
|
2012-07-23 15:05:30 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the default UI configuration
|
|
|
|
|
/// </summary>
|
|
|
|
|
public UserConfiguration DefaultUserConfiguration { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a list of registered UI device names
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> DeviceNames { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets all available UIConfigurations
|
|
|
|
|
/// The key contains device name and user id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Dictionary<string, UserConfiguration> UserConfigurations { get; set; }
|
2012-07-21 18:39:47 +00:00
|
|
|
|
|
|
|
|
|
public ServerConfiguration()
|
|
|
|
|
: base()
|
|
|
|
|
{
|
2012-07-23 15:05:30 +00:00
|
|
|
|
DefaultUserConfiguration = new UserConfiguration();
|
|
|
|
|
|
|
|
|
|
UserConfigurations = new Dictionary<string, UserConfiguration>();
|
|
|
|
|
|
|
|
|
|
DeviceNames = new List<string>();
|
2012-07-21 18:39:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|