using System;
using MediaBrowser.Model.Plugins;
namespace MediaBrowser.Common.Plugins
{
///
/// Defines the .
///
public interface IHasPluginConfiguration
{
///
/// Gets the type of configuration this plugin uses.
///
Type ConfigurationType { get; }
///
/// Gets the plugin's configuration.
///
BasePluginConfiguration Configuration { get; }
///
/// Completely overwrites the current configuration with a new copy.
///
/// The configuration.
void UpdateConfiguration(BasePluginConfiguration configuration);
///
/// Sets the startup directory creation function.
///
/// The directory function used to create the configuration folder.
void SetStartupInfo(Action directoryCreateFn);
}
}