// -------------------------------------------------------------------------------------------------------------------- // // 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 Interface. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.Services.Interfaces { using System; using SettingChangedEventArgs = HandBrakeWPF.EventArgs.SettingChangedEventArgs; /// /// The setting event handler. /// /// /// The sender. /// /// /// The e. /// public delegate void SettingEventHandler(object sender, SettingChangedEventArgs e); /// /// The User Setting Service Interface. /// 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); } }