So now I do not add the enums to the list, but also this is the function the TCling::LoadEnums function uses...And int the TListOfEnums::Load I do not have an TEnumInfo to be able to add the enums. Thus I have to for now do that in TCling i.e in LoadEnums and use HandleEnumDecl(or however I will call it).
Also I should delete the new TEnums that I create here, because they do not end up in any list?
It seems a bit tangled, opened to other ideas :-)