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