Browse Source

Added Field to Property Declaration so now we can generate the property from a field instead of get or set methods.

pull/16/head
marcos henrich 13 years ago
parent
commit
c02b7bf3a8
  1. 20
      src/AST/Property.cs

20
src/AST/Property.cs

@ -5,11 +5,6 @@ namespace CppSharp.AST @@ -5,11 +5,6 @@ namespace CppSharp.AST
/// </summary>
public class Property : Declaration, ITypedDecl
{
public Property()
{
}
public Type Type
{
get { return QualifiedType.Type; }
@ -17,17 +12,12 @@ namespace CppSharp.AST @@ -17,17 +12,12 @@ namespace CppSharp.AST
public QualifiedType QualifiedType { get; set; }
public Method GetMethod
{
get;
set;
}
public Method GetMethod { get; set; }
public Method SetMethod
{
get;
set;
}
public Method SetMethod { get; set; }
// The field that should be get and set by this property
public Field Field { get; set; }
public override T Visit<T>(IDeclVisitor<T> visitor)
{

Loading…
Cancel
Save