summaryrefslogtreecommitdiffstats
path: root/addon/doxmlparser/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-04-30 17:51:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-04-30 17:51:14 (GMT)
commit758291b1be0c43c13088389b0cfbb560efe00c1f (patch)
treea37d75aa0ebe073906cb1a3c2c1506b96409f075 /addon/doxmlparser/src
parent210582f8060fb41f6ad34d8315c9dd27b1bb6834 (diff)
downloadDoxygen-758291b1be0c43c13088389b0cfbb560efe00c1f.zip
Doxygen-758291b1be0c43c13088389b0cfbb560efe00c1f.tar.gz
Doxygen-758291b1be0c43c13088389b0cfbb560efe00c1f.tar.bz2
Release-1.2.15-20020430
Diffstat (limited to 'addon/doxmlparser/src')
-rw-r--r--addon/doxmlparser/src/compoundhandler.cpp6
-rw-r--r--addon/doxmlparser/src/compoundhandler.h2
-rw-r--r--addon/doxmlparser/src/dochandler.cpp2
-rw-r--r--addon/doxmlparser/src/doxmlintf.h2
4 files changed, 9 insertions, 3 deletions
diff --git a/addon/doxmlparser/src/compoundhandler.cpp b/addon/doxmlparser/src/compoundhandler.cpp
index 59d4cd9..b6c6235 100644
--- a/addon/doxmlparser/src/compoundhandler.cpp
+++ b/addon/doxmlparser/src/compoundhandler.cpp
@@ -190,7 +190,6 @@ CompoundHandler::CompoundHandler(const QString &xmlDir)
addStartHandler("innerclass",this,&CompoundHandler::startInnerClass);
addEndHandler("innerclass");
-
}
CompoundHandler::~CompoundHandler()
@@ -461,3 +460,8 @@ ICompoundIterator *CompoundHandler::nestedClasses() const
return new CompoundIdIterator(m_mainHandler,m_innerClasses);
}
+IDocProgramListing *CompoundHandler::source() const
+{
+ return m_programListing;
+}
+
diff --git a/addon/doxmlparser/src/compoundhandler.h b/addon/doxmlparser/src/compoundhandler.h
index b331bec..bc725e3 100644
--- a/addon/doxmlparser/src/compoundhandler.h
+++ b/addon/doxmlparser/src/compoundhandler.h
@@ -123,6 +123,7 @@ class CompoundHandler : public IClass,
// IFile implementation
IGraph *includeDependencyGraph() const;
IGraph *includedByDependencyGraph() const;
+ IDocProgramListing *source() const;
private:
QList<RelatedCompound> m_superClasses;
@@ -147,6 +148,7 @@ class CompoundHandler : public IClass,
GraphHandler *m_includeDependencyGraph;
GraphHandler *m_includedByDependencyGraph;
QList<QString> m_innerClasses;
+ ProgramListingHandler *m_source;
};
diff --git a/addon/doxmlparser/src/dochandler.cpp b/addon/doxmlparser/src/dochandler.cpp
index f21c90f..6a37f7a 100644
--- a/addon/doxmlparser/src/dochandler.cpp
+++ b/addon/doxmlparser/src/dochandler.cpp
@@ -627,7 +627,7 @@ void RefHandler::startRef(const QXmlAttributes& attrib)
{
m_parent->setDelegate(this);
m_refId = attrib.value("refid");
- m_refId = attrib.value("external");
+ m_extId = attrib.value("external");
ASSERT(attrib.value("kindref")=="compound" ||
attrib.value("kindref")=="member");
m_targetKind = attrib.value("kindref")=="compound" ? Compound : Member;
diff --git a/addon/doxmlparser/src/doxmlintf.h b/addon/doxmlparser/src/doxmlintf.h
index becbe78..5c051dd 100644
--- a/addon/doxmlparser/src/doxmlintf.h
+++ b/addon/doxmlparser/src/doxmlintf.h
@@ -681,11 +681,11 @@ class IFile : public ICompound
public:
virtual IGraph *includeDependencyGraph() const = 0;
virtual IGraph *includedByDependencyGraph() const = 0;
+ virtual IDocProgramListing *source() const = 0;
// file:
// includes()
// includedBy()
- // IDocProgramListing *source()
// ICompound *innerNamespaces()
// ICompoundIterator *innerClasses()
};