summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-07-07 17:23:26 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-07-07 17:23:26 (GMT)
commitbcbf69496a8e7e703ecf4fb6e5de264f86ebea84 (patch)
treef08f27e02ce20e8ca59117d6d02be98fbe3c8c24 /src/xmlgen.cpp
parent46570cfd109829f87a17c46e32006f901b9026f4 (diff)
downloadDoxygen-bcbf69496a8e7e703ecf4fb6e5de264f86ebea84.zip
Doxygen-bcbf69496a8e7e703ecf4fb6e5de264f86ebea84.tar.gz
Doxygen-bcbf69496a8e7e703ecf4fb6e5de264f86ebea84.tar.bz2
Release-1.2.16-20020707
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 9c694a8..567cf02 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -1508,6 +1508,25 @@ static void generateXMLForClass(ClassDef *cd,QTextStream &ti)
<< "\">" << convertToXML(cd->name()) << "</innerclass>" << endl;
}
}
+
+ IncludeInfo *ii=cd->includeInfo();
+ if (ii)
+ {
+ QCString nm = ii->includeName;
+ if (nm.isEmpty() && ii->fileDef) nm = ii->fileDef->docName();
+ if (!nm.isEmpty())
+ {
+ t << " <includes";
+ if (ii->fileDef && !ii->fileDef->isReference()) // TODO: support external references
+ {
+ t << " id=\"" << ii->fileDef->getOutputFileBase() << "\"";
+ }
+ t << " local=\"" << (ii->local ? "yes" : "no") << "\"";
+ t << nm;
+ t << "</includes>" << endl;
+ }
+ }
+
writeTemplateList(cd,t);
writeListOfAllMembers(cd,t);
MemberGroupSDict::Iterator mgli(*cd->memberGroupSDict);