On 30/11/2007, Florian Klaempfl <[EMAIL PROTECTED]> wrote:
>
> > and the interface
> > method resolution clauses would be useful too.
>
> What this?
>


I think he means when a class implements a inferfaces and somewhere in
the class hierarchy, there already exists a method with the same name.
 You can then map the Interfaces's methods to new names.  Here is a
quick example I copied from the net.


TComObject = class(TObject, IUnknown, ISupportErrorInfo)
   protected
   { IUnknown }
   function IUnknown.QueryInterface = ObjQueryInterface;
   function IUnknown._AddRef = ObjAddRef;
   function IUnknown._Release = ObjRelease;





Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to