/* QueueItem.cs $\r
- \r
- This file is part of the HandBrake source code.\r
- Homepage: <http://handbrake.fr>.\r
- It may be used under the terms of the GNU General Public License. */\r
+ This file is part of the HandBrake source code.\r
+ Homepage: <http://handbrake.fr>.\r
+ It may be used under the terms of the GNU General Public License. */\r
\r
namespace Handbrake.EncodeQueue\r
{\r
+ /// <summary>\r
+ /// The job.\r
+ /// </summary>\r
public struct Job\r
{\r
/// <summary>\r
public string Query { get; set; }\r
\r
/// <summary>\r
+ /// Gets or sets a value indicating whether if this is a user or GUI generated query\r
+ /// </summary>\r
+ public bool CustomQuery { get; set; }\r
+\r
+ /// <summary>\r
/// Gets or sets the source file of encoding.\r
/// </summary>\r
public string Source { get; set; }\r
public string Destination { get; set; }\r
\r
/// <summary>\r
- /// Gets whether or not this instance is empty.\r
+ /// Gets a value indicating whether or not this instance is empty.\r
/// </summary>\r
public bool IsEmpty\r
{\r
- get { return Id == 0 && string.IsNullOrEmpty(Query) && string.IsNullOrEmpty(Source) && string.IsNullOrEmpty(Destination); }\r
+ get\r
+ {\r
+ return this.Id == 0 && string.IsNullOrEmpty(this.Query) && string.IsNullOrEmpty(this.Source) &&\r
+ string.IsNullOrEmpty(this.Destination);\r
+ }\r
}\r
}\r
}
\ No newline at end of file