// --------------------------------------------------------------------------------------------------------------------
//
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
//
//
// The User Setting Service Interace.
//
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.Services.Interfaces
{
using HandBrake.ApplicationServices.EventArgs;
///
/// The setting event handler.
///
///
/// The sender.
///
///
/// The e.
///
public delegate void SettingEventHandler(object sender, SettingChangedEventArgs e);
///
/// The User Setting Service Interace.
///
public interface IUserSettingService
{
///
/// The setting changed.
///
event SettingEventHandler SettingChanged;
///
/// Set the specified user setting.
///
///
/// Name of the property
///
///
/// The value to store.
///
void SetUserSetting(string name, object value);
///
/// Get user setting for a given key.
///
///
/// The name.
///
///
/// The Type of the setting
///
///
/// The user setting
///
T GetUserSetting(string name);
///
/// Get an StringCollection type user setting
///
///
/// The setting name
///
///
/// The settings value
///
System.Collections.Specialized.StringCollection GetUserSettingStringCollection(string name);
}
}