/* 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. */ using System; namespace Handbrake.EncodeQueue { 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; } /// /// record if this is a user or GUI generated query /// public Boolean 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 whether or not this instance is empty. /// public bool IsEmpty { get { return Id == 0 && string.IsNullOrEmpty(Query) && string.IsNullOrEmpty(Source) && string.IsNullOrEmpty(Destination); } } } }