06.01.2011 23:25, Michalis Kamburelis wrote:
So, the natural next question: is there some construct similar to the Supports() function, that avoids this problem? That is, something that
No.
detects that class TB supports both IA and IB interfaces, even though it's declared only as "TB = class(TInterfacedObject, IB)" ?
TB is declared as it only implements IB.
Or is my only choice to just declare "TB = class(TInterfacedObject, IA, IB)" ?
Yes.
Best regards, Paul Ishenin _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal