namespace Privatezilla.Setting { public abstract class SettingBase { /// /// Name of setting /// /// The setting name public abstract string ID(); /// /// Tooltip text of setting /// /// The setting tooltip public abstract string Info(); /// /// Checks whether the setting should be applied /// /// Returns true if the setting should be applied, false otherwise. public abstract bool CheckSetting(); /// /// Applies the setting /// /// Returns true if the setting was successfull, false otherwise. public abstract bool DoSetting(); /// /// Revert the setting /// /// Returns true if the setting was successfull, false otherwise. public abstract bool UndoSetting(); } }