protected override void GenerateCodeNestedType(AbstractTypeDefinition nested) { if (nested.HasWrapType(WrapTypes.NativeDirector)) { //Interface and native director are already declared before the declaration of this class. return; } base.GenerateCodeNestedType(nested); _wrapper.CppAddType(nested, _codeBuilder); }
protected override void GenerateCodeNestedType(AbstractTypeDefinition nested) { if (nested.HasWrapType(WrapTypes.NativeDirector)) { //Interface and native director are already declared before the declaration of this class. //Just declare the method handlers of the class. NativeDirectorClassInclProducer.AddMethodHandlersClass((ClassDefinition)nested, _codeBuilder); return; } base.GenerateCodeNestedType(nested); _wrapper.IncAddType(nested, _codeBuilder); }