diff options
author | sr55 <[email protected]> | 2009-01-08 20:11:26 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-01-08 20:11:26 +0000 |
commit | 979826e24b3f187c3b488da47b720234c93f293d (patch) | |
tree | 1341bb819559c40cd68ff39237fc354aa6f27dea /win/C#/Presets/preset.cs | |
parent | a385d189c2830994e460b8739546825d7f4418d2 (diff) |
WinGui:
- Code cleanup. Remoes old using tags, removes unused code, cleans up some functions to make them shorter/more readable etc.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2069 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Presets/preset.cs')
-rw-r--r-- | win/C#/Presets/preset.cs | 44 |
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 |