2013-03-04 06:43:06 +01:00
|
|
|
|
using MediaBrowser.Common.Configuration;
|
|
|
|
|
using MediaBrowser.Model.Configuration;
|
2014-05-08 22:09:53 +02:00
|
|
|
|
using MediaBrowser.Model.Events;
|
2014-05-07 20:38:50 +02:00
|
|
|
|
using System;
|
2013-03-04 06:43:06 +01:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Configuration
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface IServerConfigurationManager
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IServerConfigurationManager : IConfigurationManager
|
|
|
|
|
{
|
2014-05-07 20:38:50 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Occurs when [configuration updating].
|
|
|
|
|
/// </summary>
|
|
|
|
|
event EventHandler<GenericEventArgs<ServerConfiguration>> ConfigurationUpdating;
|
|
|
|
|
|
2013-03-04 06:43:06 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the application paths.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The application paths.</value>
|
|
|
|
|
IServerApplicationPaths ApplicationPaths { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the configuration.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The configuration.</value>
|
|
|
|
|
ServerConfiguration Configuration { get; }
|
2014-07-11 06:27:46 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Sets the preferred metadata service.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="service">The service.</param>
|
2014-07-13 06:55:56 +02:00
|
|
|
|
void DisableMetadataService(string service);
|
2013-03-04 06:43:06 +01:00
|
|
|
|
}
|
|
|
|
|
}
|