[fpc-devel] FPDoc improvements

Michael Van Canneyt michael at freepascal.org
Tue Nov 29 23:48:38 CET 2011



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

> michael.vancanneyt at wisa.be 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.




More information about the fpc-devel mailing list