// generate event interface first,
// so that we don't generate same interface as invocable ones.
for( int i=0; i<len; i++ ) {
ITypeDecl t = tlib.getType(i);
if(t.getKind()== TypeKind.COCLASS) {
generateEventsFrom( t.queryInterface(ICoClassDecl.class) );
}
}
for( int i=0; i<len; i++ ) {
ITypeDecl t = tlib.getType(i);