summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrake.ApplicationServices/Model
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-02-18 21:56:19 +0000
committersr55 <[email protected]>2011-02-18 21:56:19 +0000
commitda4025b6af1d0f5550159b87bf6a14c025752107 (patch)
treefd8ccfe1d0cab83b70f39afcc4e85b8c3de185fb /win/C#/HandBrake.ApplicationServices/Model
parent1955a68ebccad7cd78534f6140550456b3e22756 (diff)
WinGui
- Wire in the new preset service. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3799 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Model')
-rw-r--r--win/C#/HandBrake.ApplicationServices/Model/Preset.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Model/Preset.cs b/win/C#/HandBrake.ApplicationServices/Model/Preset.cs
index 988e3da80..e20ad2dee 100644
--- a/win/C#/HandBrake.ApplicationServices/Model/Preset.cs
+++ b/win/C#/HandBrake.ApplicationServices/Model/Preset.cs
@@ -8,7 +8,7 @@ namespace HandBrake.ApplicationServices.Model
/// <summary>
/// A Preset for encoding with.
/// </summary>
- public class Preset
+ public class Preset
{
/// <summary>
/// Gets or sets the category which the preset resides under
@@ -49,5 +49,16 @@ namespace HandBrake.ApplicationServices.Model
/// Gets or sets a value indicating whether this is a built in preset
/// </summary>
public bool IsBuildIn { get; set; }
+
+ /// <summary>
+ /// Override the ToString Method
+ /// </summary>
+ /// <returns>
+ /// The Preset Name
+ /// </returns>
+ public override string ToString()
+ {
+ return this.Name;
+ }
}
} \ No newline at end of file