diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-10-27 18:00:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-10-27 18:00:16 (GMT) |
commit | 8491e9fbd06ef8a8f1cc542a524c673d7781d4b6 (patch) | |
tree | 7c1bfd20df6135fa1aac607ebe1a46d31d7f4b65 /src/xmlgen.cpp | |
parent | 3af6ff4c3d2748b45f468695a3db9f26eef4e630 (diff) | |
download | Doxygen-8491e9fbd06ef8a8f1cc542a524c673d7781d4b6.zip Doxygen-8491e9fbd06ef8a8f1cc542a524c673d7781d4b6.tar.gz Doxygen-8491e9fbd06ef8a8f1cc542a524c673d7781d4b6.tar.bz2 |
Release-1.7.5.1-20111027
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 764ab71..886e921 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -495,12 +495,18 @@ void writeXMLCodeBlock(FTextStream &t,FileDef *fd) ParserInterface *pIntf=Doxygen::parserManager->getParser(fd->getDefFileExtension()); pIntf->resetCodeParserState(); XMLCodeGenerator *xmlGen = new XMLCodeGenerator(t); - pIntf->parseCode(*xmlGen, - 0, + pIntf->parseCode(*xmlGen, // codeOutIntf + 0, // scopeName fileToString(fd->absFilePath(),Config_getBool("FILTER_SOURCE_FILES")), - FALSE, - 0, - fd); + FALSE, // isExampleBlock + 0, // exampleName + fd, // fileDef + -1, // startLine + -1, // endLine + FALSE, // inlineFragement + 0, // memberDef + TRUE // showLineNumbers + ); xmlGen->finish(); delete xmlGen; } @@ -543,20 +549,21 @@ static void stripQualifiers(QCString &typeStr) static QCString classOutputFileBase(ClassDef *cd) { - static bool inlineGroupedClasses = Config_getBool("INLINE_GROUPED_CLASSES"); - if (inlineGroupedClasses && cd->partOfGroups()!=0) - return cd->getXmlOutputFileBase(); - else - return cd->getOutputFileBase(); + //static bool inlineGroupedClasses = Config_getBool("INLINE_GROUPED_CLASSES"); + //if (inlineGroupedClasses && cd->partOfGroups()!=0) + return cd->getOutputFileBase(); + //else + // return cd->getOutputFileBase(); } static QCString memberOutputFileBase(MemberDef *md) { - static bool inlineGroupedClasses = Config_getBool("INLINE_GROUPED_CLASSES"); - if (inlineGroupedClasses && md->getClassDef() && md->getClassDef()->partOfGroups()!=0) - return md->getClassDef()->getXmlOutputFileBase(); - else - return md->getOutputFileBase(); + //static bool inlineGroupedClasses = Config_getBool("INLINE_GROUPED_CLASSES"); + //if (inlineGroupedClasses && md->getClassDef() && md->getClassDef()->partOfGroups()!=0) + // return md->getClassDef()->getXmlOutputFileBase(); + //else + // return md->getOutputFileBase(); + return md->getOutputFileBase(); } |