[fpc-devel] FPDoc improvements

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Nov 30 00:43:24 CET 2011


Michael Van Canneyt schrieb:

>>> 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.

Where else should the CreateDocumentation method reside, so that it is 
available in other projects? As long as it resides in TFPDocAplication, 
which again resides in the fpdoc program file, only the fpdoc program 
can create documentation - what makes the remaining fpdoc units useless 
in other projects.

DoDi




More information about the fpc-devel mailing list