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.cs44
1 files changed, 5 insertions, 39 deletions
diff --git a/win/C#/Presets/preset.cs b/win/C#/Presets/preset.cs
index ee983427a..34689327b 100644
--- a/win/C#/Presets/preset.cs
+++ b/win/C#/Presets/preset.cs
@@ -1,66 +1,32 @@
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;
- private Boolean pictureSettings;
-
/// <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; }
- }
+ public int Level { get; set; }
/// <summary>
/// Get or Set the category which the preset resides under
/// </summary>
- public string Category
- {
- get { return category; }
- set { this.category = value; }
- }
+ public string Category { get; set; }
/// <summary>
/// Get or Set the preset name
/// </summary>
- public string Name
- {
- get { return name; }
- set { this.name = value; }
- }
+ public string Name { get; set; }
/// <summary>
/// Get or set the preset query
/// </summary>
- public string Query
- {
- get { return query; }
- set { this.query = value; }
- }
+ public string Query { get; set; }
/// <summary>
/// Get or set the usage of Picture Settings in presets.
/// </summary>
- public Boolean PictureSettings
- {
- get { return pictureSettings; }
- set { this.pictureSettings = value; }
- }
-
+ public Boolean PictureSettings { get; set; }
}
} \ No newline at end of file