Explorar el Código

* IInterfaceListEx

Michaël Van Canneyt hace 6 meses
padre
commit
3b8a4137a5
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  1. 8 1
      rtl/objpas/classes/classesh.inc

+ 8 - 1
rtl/objpas/classes/classesh.inc

@@ -2679,7 +2679,14 @@ type
     property Current: IUnknown read GetCurrent;
   end;
 
-  TInterfaceList = class(TInterfacedObject,IInterfaceList)
+  IInterfaceListEx = interface(IInterfaceList)
+    ['{FDB39D70-65B9-4995-9436-6084ACA05DB3}']
+    function GetEnumerator: TInterfaceListEnumerator;
+  end;
+
+  { TInterfaceList }
+
+  TInterfaceList = class(TInterfacedObject,IInterfaceList,IInterfaceListEx)
   private
     FList : TThreadList;
   protected