summaryrefslogtreecommitdiffstats
path: root/src/section.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-01-22 19:51:13 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-01-22 19:51:13 (GMT)
commit9b81ead283ea3f56a89835ac8afcdb75cdaadd03 (patch)
tree082a1fab748f7d6917c9728b6f302bb4757de12d /src/section.h
parent9066ec6131e1f77bbc745b50664db3cbcb2577ee (diff)
downloadDoxygen-9b81ead283ea3f56a89835ac8afcdb75cdaadd03.zip
Doxygen-9b81ead283ea3f56a89835ac8afcdb75cdaadd03.tar.gz
Doxygen-9b81ead283ea3f56a89835ac8afcdb75cdaadd03.tar.bz2
Release-1.7.6.1-20120122
Diffstat (limited to 'src/section.h')
-rw-r--r--src/section.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/section.h b/src/section.h
index c4c9517..78516ae 100644
--- a/src/section.h
+++ b/src/section.h
@@ -28,13 +28,17 @@ class Definition;
struct SectionInfo
{
- enum SectionType { Page, Section, Subsection,
- Subsubsection, Paragraph, Anchor
+ enum SectionType { Page = 0,
+ Section = 1,
+ Subsection = 2,
+ Subsubsection = 3,
+ Paragraph = 4,
+ Anchor = 5
};
SectionInfo(const char *f,const char *l,const char *t,
- SectionType st,const char *r=0) :
+ SectionType st,int lev,const char *r=0) :
label(l), title(t), type(st), ref(r), definition(0),
- fileName(f), generated(FALSE)
+ fileName(f), generated(FALSE), level(lev)
{
}
SectionInfo(const SectionInfo &s)
@@ -51,12 +55,13 @@ struct SectionInfo
Definition *definition;
QCString fileName;
bool generated;
+ int level;
};
-class SectionDict : public QDict<SectionInfo>
+class SectionDict : public SDict<SectionInfo>
{
public:
- SectionDict(int size) : QDict<SectionInfo>(size) {}
+ SectionDict(int size) : SDict<SectionInfo>(size) {}
~SectionDict() {}
};