Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-11

future plans - interfaces

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

Hi,

one minute ago I read on the "future plans" page that support for interfaces is planned for 2.0.

What type of interfaces are these, may I look at it like the implementation in java? Or does it refer to the windows IWhatever-stuff?

TIA,
Marc

Reply by email

Marco van de Voort
to Marc Santhoff
one minute ago I read on the "future plans" page that support for interfaces is planned for 2.0.

These are already implemented in the 1.9.x series.

What type of interfaces are these, may I look at it like the implementation in java?

No like in Delphi.

Or does it refer to the windows IWhatever-stuff?

It is related to that yes, focussed on the use of interfaces for external objects. However the concept is generic, and could be reused for e.g. corba too.

To see really strange stuff can be done with interfaces check out decal, in CVS, projects/contrib/decal or so.

Reply by email

Michael Van Canneyt
to Marc Santhoff: one minute ago I read on the "future plans" page that support for interfaces is planned…
Marc Santhoff wrote 7 lines
Hi, one minute ago I read on the "future plans" page that support for interfaces is planned for 2.0. What type of interfaces are these, may I look at it like the implementation in java? Or does it refer to the windows IWhatever-stuff?

Interfaces are independent of java/windows.
It is the language interface support as in Delphi.

Michael.

Reply by email

Marc Santhoff
to Marco van de Voort: These are already implemented in the 1.9.x series. No like in Delphi. It is related to…

Hi Marco, Michael,

Show quoted text 15 lines
> one minute ago I read on the "future plans" page that support for > interfaces is planned for 2.0. These are already implemented in the 1.9.x series. > What type of interfaces are these, may I look at it like the > implementation in java? No like in Delphi. >Or does it refer to the windows IWhatever-stuff? It is related to that yes, focussed on the use of interfaces for external objects. However the concept is generic, and could be reused for e.g. corba too.

Sounds good to me. What I would really like to use is some sort of multiple inheritance (yes, the bad word ;). But I really do not expect to see java interfaces in fpc because the main goal is delphi compatibility, I think.

To see really strange stuff can be done with interfaces check out decal, in CVS, projects/contrib/decal or so.

Okay, I'll next question would have been how
fpc/NOT(Windows) would benefit from this technique, but I'll see. :)

Thank you both,
Marc

Reply by email