Mattias Gaertner wrote:
Lazarus has the IDEIntf, the API for IDE plugins.

What is better in this case: classes or interfaces?
What if someday there are packages? What if someday there is a closed source dll plugin?

3x Interfaces (you need a shared memmanager in this case)

Additional advantage with interfaces is that you can have different versions of an interface implemented by the same class I can imagine that some interface needs to be extended someday, then adding a newer version (=copy + new guid + extention) of the interface won't break older plugins.

Marc

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to