2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
6 namespace Handbrake.EncodeQueue
\r
14 /// Gets or sets the job ID.
\r
16 public int Id { get; set; }
\r
19 /// Gets or sets the query string.
\r
21 public string Query { get; set; }
\r
24 /// Gets or sets a value indicating whether if this is a user or GUI generated query
\r
26 public bool CustomQuery { get; set; }
\r
29 /// Gets or sets the source file of encoding.
\r
31 public string Source { get; set; }
\r
34 /// Gets or sets the destination for the file to be encoded.
\r
36 public string Destination { get; set; }
\r
39 /// Gets a value indicating whether or not this instance is empty.
\r
45 return this.Id == 0 && string.IsNullOrEmpty(this.Query) && string.IsNullOrEmpty(this.Source) &&
\r
46 string.IsNullOrEmpty(this.Destination);
\r