From: Francesco M. <f18...@ya...> - 2009-10-22 16:07:02
|
[sorry for not reading the rest of the thread; I may have missed something important] Hi John, Klaas, Klaas Holwerda ha scritto: > John Labenski wrote: >> The Python stuff looks easy to skip and we may have to write our own >> @beginWxLuaOnly sections. indeed. I think it's ok (for wx developers) to have the wx interface files patched upstream (in wx repo) with @beginWxLuaOnly sections since there are already wxPerl and wxPython equivalents. > > That is what i meant. I don't know how wxWidgets parses those > tags/things from the headers using Doxygen, and even if they do. if you want a simple C++ parser of the Doxygen (XML) output, please look in wxWidgets/utils/ifacecheck. The @beginWxPythonOnly sections are used only in the HTML output (and with the XML output they are not needed by ifacecheck: it only checks the consistency of the docs against the wx C++ headers, it knows nothing about python). > Without > adding something extra to the doxygen setup files, they don't show up as > extra tags in XML. > But if possible that solves most problems i think. Maybe just ask > Francesco, he knows. yes, adding in wx/docs/doxygen/Doxyfile_inc some stuff it should be possible to have those tags appear also in the XML output. >> Thanks for the Doxygen sample, XML is ugly. > Sure is, but easy to parse :-) right ;) > still need %rename for overloaded >> functions that take int/double/enum values since Lua treats them all >> as double so we can't tell what function the user wanted to call. How >> can we stick that into the interface file so it ends up in the doxygen >> XML? I'm sure there's a way... > can you make an example of which info would you like to stuff inside e.g. the following doxygen XML snippet: <memberdef kind="function" id="classwx_about_dialog_info_1a2bde3b28eb55f653e8229ea534775c24" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void wxAboutDialogInfo::SetDevelopers</definition> <argsstring>(const wxArrayString &developers)</argsstring> <name>SetDevelopers</name> <param> <type>const <ref refid="classwx_array_string" kindref="compound">wxArrayString</ref> &</type> <declname>developers</declname> </param> <briefdescription> <para>Set the list of developers of the program. </para> </briefdescription> <detaileddescription> <para><simplesect kind="see"><para><ref refid="classwx_about_dialog_info_1a26dba3b09941ae3761c452b78d37165f" kindref="member">AddDeveloper()</ref> </para></simplesect> </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/frm/work/wxWidgets/interface/wx/aboutdlg.h" line="104"/> </memberdef> ? Francesco -- |