summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Attributes
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-03-05 20:54:44 +0000
committersr55 <[email protected]>2015-03-05 20:54:44 +0000
commit5c7597d9de68e920ea6f06b6086df148d7225739 (patch)
tree3d6259d16fd65061d1895562b65e4094ac16d47d /win/CS/HandBrake.ApplicationServices/Attributes
parent205b514fa0a9cd94c500a7be7460684aba82d8bc (diff)
WinGui: Remove the EncodeJob model. This removes another abstraction layer that is no longer necessary now that the GUI uses libhb directly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6966 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Attributes')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Attributes/ShortName.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Attributes/ShortName.cs b/win/CS/HandBrake.ApplicationServices/Attributes/ShortName.cs
new file mode 100644
index 000000000..eab372e34
--- /dev/null
+++ b/win/CS/HandBrake.ApplicationServices/Attributes/ShortName.cs
@@ -0,0 +1,35 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="ShortName.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// A Short Name for an enum value
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrake.ApplicationServices.Attributes
+{
+ using System;
+
+ /// <summary>
+ /// A Short Name for an enum value
+ /// </summary>
+ public class ShortName : Attribute
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="ShortName"/> class.
+ /// </summary>
+ /// <param name="shortName">
+ /// The short name.
+ /// </param>
+ public ShortName(string shortName)
+ {
+ this.Name = shortName;
+ }
+
+ /// <summary>
+ /// Gets or sets the short name.
+ /// </summary>
+ public string Name { get; set; }
+ }
+}