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

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

Reply via email to