/* QueueItem.cs $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ namespace Handbrake.Model { /// /// The job. /// public struct Job { /// /// Gets or sets the job ID. /// public int Id { get; set; } /// /// Gets or sets the query string. /// public string Query { 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 the source file of encoding. /// public string Source { get; set; } /// /// Gets or sets the destination for the file to be encoded. /// public string Destination { get; set; } /// /// Gets a value indicating whether or not this instance is empty. /// public bool IsEmpty { get { return this.Id == 0 && string.IsNullOrEmpty(this.Query) && string.IsNullOrEmpty(this.Source) && string.IsNullOrEmpty(this.Destination); } } } }