From: thefiddler Date: Mon, 21 Jul 2014 14:02:56 +0000 (+0200) Subject: [Bind] Added Enum.Obsolete property X-Git-Tag: 2.0-0~107^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf65005e7be0c273f931be52b98be67e88eddf1d;p=platform%2Fcore%2Fcsapi%2Fopentk.git [Bind] Added Enum.Obsolete property --- diff --git a/Source/Bind/Structures/Enum.cs b/Source/Bind/Structures/Enum.cs index 0c105ec..d883d1f 100644 --- a/Source/Bind/Structures/Enum.cs +++ b/Source/Bind/Structures/Enum.cs @@ -69,6 +69,9 @@ namespace Bind.Structures { ConstantCollection.Add(constant.Name, constant); } + + public string Obsolete { get; set; } + public bool IsObsolete { get { return !String.IsNullOrEmpty(Obsolete); } } } #endregion