On Tue, 29 Nov 2011, Hans-Peter Diettrich wrote:

[email protected] schrieb:

When this were the *only* code in the fpdoc program file, another project could create a derived class, with a possibly specialized Run method, without touching the declaration or implementation of TFPDocApplication.

That would conflict with the GUI TApplication instance, so I really don't see the point of this exercise.

Then another error in the logic exists: CreateDocumentation should be a method of TFPDocProject, not of TFPDocAplication.

Why ? TFPDocProject is just storage of data. It has no dependencies on the rest of fpdoc, and this is by design.

Michael.

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

Reply via email to