// --------------------------------------------------------------------------------------------------------------------
//
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
//
//
// The QueueTask.
//
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.ApplicationServices.Model
{
using Caliburn.Micro;
using HandBrake.ApplicationServices.Parsing;
///
/// The QueueTask.
///
public class QueueTask : PropertyChangedBase
{
#region Constants and Fields
///
/// The status.
///
private QueueItemStatus status;
#endregion
#region Properties
///
/// Gets or sets ScannedSource.
///
public Source ScannedSource { get; set; }
///
/// Gets or sets a value indicating whether if this is a user or GUI generated query
///
public bool CustomQuery { get; set; }
///
/// Gets or sets Status.
///
public QueueItemStatus Status
{
get
{
return this.status;
}
set
{
this.status = value;
this.NotifyOfPropertyChange(() => this.Status);
}
}
///
/// Gets or sets the Encode Task.
///
public EncodeTask Task { get; set; }
#endregion
}
}