diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-02-10 18:17:19 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-02-10 18:17:19 (GMT) |
commit | 24f9a159dd76047cf03b92e7d71010947efaf164 (patch) | |
tree | d1468ce96ea2cb67fa7825027a3f93a67bf4d9a6 /src/definition.cpp | |
parent | 1335cc7076d6a752c43c9a4eef958feef84d3edd (diff) | |
download | Doxygen-24f9a159dd76047cf03b92e7d71010947efaf164.zip Doxygen-24f9a159dd76047cf03b92e7d71010947efaf164.tar.gz Doxygen-24f9a159dd76047cf03b92e7d71010947efaf164.tar.bz2 |
Release-1.2.13-20020210
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 7f6a534..8800f81 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id$ + * * * Copyright (C) 1997-2002 by Dimitri van Heesch. * @@ -27,6 +27,7 @@ #include "doc.h" #include "code.h" #include "util.h" +#include "groupdef.h" Definition::Definition(const char *df,int dl, const char *name,const char *b,const char *d) @@ -50,6 +51,7 @@ Definition::Definition(const char *df,int dl, m_testId=0; m_bugId=0; m_outerScope=Doxygen::globalScope; + m_partOfGroups=0; } Definition::~Definition() @@ -57,9 +59,9 @@ Definition::~Definition() delete m_sectionDict; delete m_sourceRefByDict; delete m_sourceRefsDict; + delete m_partOfGroups; } - void Definition::addSectionsToDefinition(QList<QCString> *anchorList) { if (!anchorList) return; @@ -544,3 +546,10 @@ void Definition::setBodySegment(int bls,int ble) m_endBodyLine=ble; } +void Definition::makePartOfGroup(GroupDef *gd) +{ + if (m_partOfGroups==0) m_partOfGroups = new GroupList; + m_partOfGroups->append(gd); +} + + |