summaryrefslogtreecommitdiffstats
path: root/src/section.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-07-08 20:06:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-07-08 20:06:16 (GMT)
commit5444ff60bbf81c46841827e66e72f3148edde9ff (patch)
tree0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/section.h
parent17c14fb5230cfc532577c32df1d10223534392d8 (diff)
downloadDoxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.zip
Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.gz
Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.bz2
Release-1.3.2-20030708
Diffstat (limited to 'src/section.h')
-rw-r--r--src/section.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/section.h b/src/section.h
index 6aca0c0..0f39c54 100644
--- a/src/section.h
+++ b/src/section.h
@@ -25,7 +25,6 @@
#include "sortdict.h"
class Definition;
-class PageInfo;
struct SectionInfo
{
@@ -33,18 +32,23 @@ struct SectionInfo
Subsubsection, Paragraph, Anchor
};
SectionInfo(const char *f,const char *l,const char *t,
- SectionType st,const char *r=0)
- { label=l; title=t; type=st; ref=r;
- definition=0; pageRef=0; generated=FALSE;
- fileName=f;
- }
+ SectionType st,const char *r=0) :
+ label(l), title(t), type(st), ref(r), definition(0),
+ fileName(f), generated(FALSE)
+ {
+ }
+ SectionInfo(const SectionInfo &s)
+ {
+ label=s.label.copy(); title=s.title.copy(); ref=s.ref.copy();
+ type =s.type; definition=s.definition;
+ fileName=s.fileName.copy(); generated=s.generated;
+ }
~SectionInfo() {}
QCString label;
QCString title;
- QCString ref;
SectionType type;
+ QCString ref;
Definition *definition;
- PageInfo *pageRef;
QCString fileName;
bool generated;
};