Browse Source

Change properties to inherit from declarations.

pull/1/head
triton 13 years ago
parent
commit
c97caea03d
  1. 13
      src/Bridge/Property.cs

13
src/Bridge/Property.cs

@ -6,7 +6,7 @@ namespace Cxxi
/// <summary> /// <summary>
/// Represents a C++ property. /// Represents a C++ property.
/// </summary> /// </summary>
public class Property public class Property : Declaration
{ {
public Property(string name, Declaration type) public Property(string name, Declaration type)
{ {
@ -14,12 +14,6 @@ namespace Cxxi
Type = type; Type = type;
} }
public string Name
{
get;
set;
}
public Declaration Type public Declaration Type
{ {
get; get;
@ -37,5 +31,10 @@ namespace Cxxi
get; get;
set; set;
} }
public override T Visit<T>(IDeclVisitor<T> visitor)
{
throw new NotImplementedException();
}
} }
} }
Loading…
Cancel
Save