OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / Presets / preset.cs
1 using System;\r
2 using System.Collections.Generic;\r
3 using System.Text;\r
4 using System.Windows.Forms;\r
5 using System.IO;\r
6 using System.Text.RegularExpressions;\r
7 using System.Diagnostics;\r
8 \r
9 namespace Handbrake.Presets\r
10 {\r
11     public class Preset\r
12     {\r
13 \r
14         private int level = 0;\r
15         private string category = null;\r
16         private string name;\r
17         private string query;\r
18 \r
19         /// <summary>\r
20         /// Get or Set the preset's level. This indicated if it is a root or child node\r
21         /// </summary>\r
22         public int Level\r
23         {\r
24             get { return level; }\r
25             set { this.level = value; }\r
26         }\r
27 \r
28         /// <summary>\r
29         /// Get or Set the category which the preset resides under\r
30         /// </summary>\r
31         public string Category\r
32         {\r
33             get { return category; }\r
34             set { this.category = value; }\r
35         }\r
36 \r
37         /// <summary>\r
38         /// Get or Set the preset name\r
39         /// </summary>\r
40         public string Name\r
41         {\r
42             get { return name; }\r
43             set { this.name = value; }\r
44         }\r
45 \r
46         /// <summary>\r
47         /// Get or set the preset query\r
48         /// </summary>\r
49         public string Query\r
50         {\r
51             get { return query; }\r
52             set { this.query = value; }\r
53         }\r
54 \r
55     }\r
56 }