|
|
@ -141,6 +141,12 @@ namespace Cxxi.Generators.CLI |
|
|
|
GenerateDeclarationCommon(@event); |
|
|
|
GenerateDeclarationCommon(@event); |
|
|
|
GenerateEvent(@event, @class); |
|
|
|
GenerateEvent(@event, @class); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var variable in @class.Variables) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
GenerateDeclarationCommon(variable); |
|
|
|
|
|
|
|
GenerateVariable(variable, @class); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void GenerateEvent(Event @event, Class @class) |
|
|
|
private void GenerateEvent(Event @event, Class @class) |
|
|
@ -255,6 +261,11 @@ namespace Cxxi.Generators.CLI |
|
|
|
WriteCloseBraceIndent(); |
|
|
|
WriteCloseBraceIndent(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void GenerateVariable(Variable variable, Class @class) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void GenerateClassConstructor(Class @class, bool isIntPtr) |
|
|
|
private void GenerateClassConstructor(Class @class, bool isIntPtr) |
|
|
|
{ |
|
|
|
{ |
|
|
|
Write("{0}::{1}(", QualifiedIdentifier(@class), SafeIdentifier(@class.Name)); |
|
|
|
Write("{0}::{1}(", QualifiedIdentifier(@class), SafeIdentifier(@class.Name)); |
|
|
|