summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-05-28 19:46:08 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-05-28 19:46:08 (GMT)
commit832e08dcc70203d84f75249583a95fa172492aa2 (patch)
tree1f7723f69aa2917d2408894c68e7150f7b7ff3d5 /src/filedef.cpp
parentf38608d4bec002a5051c860a599dd4d5229a9671 (diff)
downloadDoxygen-832e08dcc70203d84f75249583a95fa172492aa2.zip
Doxygen-832e08dcc70203d84f75249583a95fa172492aa2.tar.gz
Doxygen-832e08dcc70203d84f75249583a95fa172492aa2.tar.bz2
Release-1.1.3-20000528
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp25
1 files changed, 18 insertions, 7 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index f7853a7..2d4e60d 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -50,7 +50,8 @@ FileDef::FileDef(const char *p,const char *nm,const char *ref)
namespaceDict = new NamespaceDict(7);
srcDefDict = 0;
srcAnchorDict = 0;
- usingList = 0;
+ usingDirList = 0;
+ usingDeclList = 0;
isSource = FALSE;
docname = nm;
if (Config::fullPathNameFlag)
@@ -72,7 +73,8 @@ FileDef::~FileDef()
delete namespaceDict;
delete srcDefDict;
delete srcAnchorDict;
- delete usingList;
+ delete usingDirList;
+ delete usingDeclList;
delete memberGroupList;
delete memberGroupDict;
}
@@ -189,7 +191,7 @@ void FileDef::writeDocumentation(OutputList &ol)
DotInclDepGraph incDepGraph(this);
if (!incDepGraph.isTrivial())
{
- ol.disableAllBut(OutputGenerator::Html);
+ ol.disable(OutputGenerator::Man);
ol.newParagraph();
ol.startInclDepGraph();
parseText(ol,theTranslator->trInclDepGraph(name()));
@@ -287,7 +289,7 @@ void FileDef::writeDocumentation(OutputList &ol)
//if (latexOn) ol.disable(OutputGenerator::Latex);
ol.disable(OutputGenerator::Latex);
ol.disable(OutputGenerator::RTF);
- ol.writeAnchor("_details");
+ ol.writeAnchor(0,"_details");
//if (latexOn) ol.enable(OutputGenerator::Latex);
ol.popGeneratorState();
ol.startGroupHeader();
@@ -533,11 +535,20 @@ QCString FileDef::getSourceAnchor(int lineNr)
void FileDef::addUsingDirective(NamespaceDef *nd)
{
- if (usingList==0)
+ if (usingDirList==0)
+ {
+ usingDirList = new NamespaceList;
+ }
+ usingDirList->append(nd);
+}
+
+void FileDef::addUsingDeclaration(ClassDef *cd)
+{
+ if (usingDeclList==0)
{
- usingList = new NamespaceList;
+ usingDeclList = new ClassList;
}
- usingList->append(nd);
+ usingDeclList->append(cd);
}
void FileDef::addIncludeDependency(FileDef *fd,const char *incName,bool local)