// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // A Preset for encoding with. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.ApplicationServices.Model { using Caliburn.Micro; /// /// A Preset for encoding with. /// public class Preset : PropertyChangedBase { #region Constants and Fields /// /// The is default. /// private bool isDefault; #endregion #region Properties /// /// Gets or sets the category which the preset resides under /// public string Category { get; set; } /// /// Gets or sets the Description for the preset /// public string Description { get; set; } /// /// Gets or sets a value indicating whether this is a built in preset /// public bool IsBuildIn { get; set; } /// /// Gets or sets a value indicating whether IsDefault. /// public bool IsDefault { get { return this.isDefault; } set { this.isDefault = value; this.NotifyOfPropertyChange(() => this.IsDefault); } } /// /// Gets or sets the preset name /// public string Name { get; set; } /// /// Gets or sets PictureSettingsMode. /// Source Maximum, Custom or None /// public PresetPictureSettingsMode PictureSettingsMode { get; set; } /// /// Gets or sets task. /// public EncodeTask Task { get; set; } /// /// Gets or sets a value indicating whether Picture Filters are used with this preset. /// public bool UsePictureFilters { get; set; } /// /// Gets or sets The version number which associates this preset with a HB build /// public string Version { get; set; } #endregion #region Public Methods /// /// Override the ToString Method /// /// /// The Preset Name /// public override string ToString() { return this.Name; } #endregion } }