summaryrefslogtreecommitdiffstats
path: root/win/C#/Presets/preset.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Presets/preset.cs')
-rw-r--r--win/C#/Presets/preset.cs60
1 files changed, 60 insertions, 0 deletions
diff --git a/win/C#/Presets/preset.cs b/win/C#/Presets/preset.cs
new file mode 100644
index 000000000..9f7eed8bd
--- /dev/null
+++ b/win/C#/Presets/preset.cs
@@ -0,0 +1,60 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Windows.Forms;
+using System.IO;
+using System.Text.RegularExpressions;
+using System.Diagnostics;
+
+namespace Handbrake.Presets
+{
+ public class Preset
+ {
+
+ private int level = 0;
+ private string category = null;
+ private string name;
+ private string query;
+
+ public Preset()
+ {
+ }
+
+ /// <summary>
+ /// Get or Set the preset's level. This indicated if it is a root or child node
+ /// </summary>
+ public int Level
+ {
+ get { return level; }
+ set { this.level = value; }
+ }
+
+ /// <summary>
+ /// Get or Set the category which the preset resides under
+ /// </summary>
+ public string Category
+ {
+ get { return category; }
+ set { this.category = value; }
+ }
+
+ /// <summary>
+ /// Get or Set the preset name
+ /// </summary>
+ public string Name
+ {
+ get { return name; }
+ set { this.name = value; }
+ }
+
+ /// <summary>
+ /// Get or set the preset query
+ /// </summary>
+ public string Query
+ {
+ get { return query; }
+ set { this.query = value; }
+ }
+
+ }
+} \ No newline at end of file