|
<< Click to Display Table of Contents >> Navigation: Classes > TIWCallbackProc0Obj |
SIGNATURE=IWCallBackFunc.TIWCallbackProc0Obj
ETYPE=Class
Declaration:
Delphi: |
public TIWCallbackProc0Obj = class(TInterfacedObject, IIWCallbackRef); |
C++: |
public: class TIWCallbackProc0Obj : public TInterfacedObject, public IIWCallbackRef; |
Unit: IWCallBackFunc.pas
Description: These types are here to replace anonymous methods used in previous versions. FPC doesn't support them yet. So we have a wrapper to the method reference that is stored in our internal dictionary. This works as well as anonymous methods and simplifies the code base shared between Delphi and FPC. Possibly a generic class could be used but again we can find incompatibilies...