summaryrefslogtreecommitdiffstats
path: root/src/section.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-01-22 19:51:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-01-22 19:51:13 (GMT)
commitc22d77a7a9c0f26a060a58047f514869a9e0a067 (patch)
tree082a1fab748f7d6917c9728b6f302bb4757de12d /src/section.h
parentfd8b446f8ae60e7d1dc259c6f5fe38c287377d19 (diff)
downloadDoxygen-c22d77a7a9c0f26a060a58047f514869a9e0a067.zip
Doxygen-c22d77a7a9c0f26a060a58047f514869a9e0a067.tar.gz
Doxygen-c22d77a7a9c0f26a060a58047f514869a9e0a067.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() {}
};