diff options
Diffstat (limited to 'win/C#/interop/DisplayStringAttribute.cs')
-rw-r--r-- | win/C#/interop/DisplayStringAttribute.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/win/C#/interop/DisplayStringAttribute.cs b/win/C#/interop/DisplayStringAttribute.cs new file mode 100644 index 000000000..3f7e62d87 --- /dev/null +++ b/win/C#/interop/DisplayStringAttribute.cs @@ -0,0 +1,29 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace HandBrake.Interop
+{
+ [AttributeUsage(AttributeTargets.Field)]
+ public sealed class DisplayStringAttribute : Attribute
+ {
+ private readonly string value;
+
+ public string Value
+ {
+ get { return value; }
+ }
+
+ public string ResourceKey { get; set; }
+
+ public DisplayStringAttribute(string v)
+ {
+ this.value = v;
+ }
+
+ public DisplayStringAttribute()
+ {
+ }
+ }
+}
|