include with formatting question

Joel Sherrill <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
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
[email protected]        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985



------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.