summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-17 15:15:12 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-17 15:15:12 (GMT)
commit6505abff80c988faf734b2e4c31cd2a94c2c10b5 (patch)
tree8face58cec7cf3e5e23acec30b6af55f5bed931c /src/namespacedef.cpp
parentfe67b8eb68129713327965c201f2d7226b83202f (diff)
downloadDoxygen-6505abff80c988faf734b2e4c31cd2a94c2c10b5.zip
Doxygen-6505abff80c988faf734b2e4c31cd2a94c2c10b5.tar.gz
Doxygen-6505abff80c988faf734b2e4c31cd2a94c2c10b5.tar.bz2
Release-1.2.3-20001217
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 6377295..b92d2e5 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -198,7 +198,12 @@ void NamespaceDef::writeDocumentation(OutputList &ol)
parseText(ol,theTranslator->trNamespaceReference(name()));
endTitle(ol,getOutputFileBase(),name());
- if (!Config::genTagFile.isEmpty()) tagFile << "%" << name() << ":\n";
+ if (!Config::genTagFile.isEmpty())
+ {
+ tagFile << " <compound kind=\"namespace\">" << endl;
+ tagFile << " <name>" << convertToXML(name()) << "</name>" << endl;
+ tagFile << " <filename>" << convertToXML(fileName) << ".html</filename>" << endl;
+ }
ol.startTextBlock();
@@ -346,7 +351,12 @@ void NamespaceDef::writeDocumentation(OutputList &ol)
parseText(ol,theTranslator->trAuthor());
ol.endGroupHeader();
parseText(ol,theTranslator->trGeneratedAutomatically(Config::projectName));
- //ol.enableAll();
+
+ if (!Config::genTagFile.isEmpty())
+ {
+ tagFile << " </compound>" << endl;
+ }
+
ol.popGeneratorState();
endFile(ol);
}