[Doxygen-develop] include with formatting question
Brought to you by:
dimitri
From: Joel S. <joe...@oa...> - 2011-07-20 19:47:56
|
Hi, I think I have made some progress on adding a directive (to be named) that will include a file in Doxygen markup. Until this works, I am using "includejoel" as the command. But I have a question. I think I need to parse the file, rather than just insert its text or parse it like source code like the other include variants do. I have this currently in htmldocvisitor.cpp in visit: case DocInclude::IncJoel: { QFileInfo fi(inc->exampleFile()); BufStr JoelBuf(fi.size()+4096); Doxygen::parserManager->getParser(inc->extension()) ->parseInput(inc->exampleFile(), JoelBuf.data(), NULL); } break; My question is.. the NULL is supposed to be of type "Entry *" but I don't know which Entry to use. Where do I get it? How do I ensure the parsed file is hung off the main parsing structure OK? Am I even on the right track? :-D -- Joel Sherrill, Ph.D. Director of Research& Development joe...@OA... On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985 |