-using System;\r
-using System.Collections.Generic;\r
-using System.Text;\r
-using System.Windows.Forms;\r
-using System.IO;\r
-using System.Text.RegularExpressions;\r
-using System.Diagnostics;\r
+/* Preset.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
+\r
+using System;\r
\r
namespace Handbrake.Presets\r
{\r
public class Preset\r
{\r
-\r
- private int level = 0;\r
- private string category = null;\r
- private string name;\r
- private string query;\r
-\r
- public Preset()\r
- {\r
- }\r
-\r
- /// <summary>\r
- /// Get or Set the preset's level. This indicated if it is a root or child node\r
- /// </summary>\r
- public int Level\r
- {\r
- get { return level; }\r
- set { this.level = value; }\r
- }\r
-\r
/// <summary>\r
/// Get or Set the category which the preset resides under\r
/// </summary>\r
- public string Category\r
- {\r
- get { return category; }\r
- set { this.category = value; }\r
- }\r
+ public string Category { get; set; }\r
\r
/// <summary>\r
/// Get or Set the preset name\r
/// </summary>\r
- public string Name\r
- {\r
- get { return name; }\r
- set { this.name = value; }\r
- }\r
+ public string Name { get; set; }\r
\r
/// <summary>\r
/// Get or set the preset query\r
/// </summary>\r
- public string Query\r
- {\r
- get { return query; }\r
- set { this.query = value; }\r
- }\r
+ public string Query { get; set; }\r
+\r
+ /// <summary>\r
+ /// Get or set the usage of Picture Settings in presets.\r
+ /// </summary>\r
+ public Boolean PictureSettings { get; set; }\r
\r
+ /// <summary>\r
+ /// The version number which associates this preset with a HB build\r
+ /// </summary>\r
+ public string Version { get; set; }\r
}\r
}
\ No newline at end of file