summaryrefslogtreecommitdiffstats
path: root/src/section.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/section.h')
-rw-r--r--src/section.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/section.h b/src/section.h
index 206237c..58605fa 100644
--- a/src/section.h
+++ b/src/section.h
@@ -22,26 +22,25 @@
#include "qtbc.h"
#include <qlist.h>
#include <qdict.h>
+#include "sortdict.h"
class Definition;
struct SectionInfo
{
enum SectionType { Section, Subsection, Anchor };
- SectionInfo(const char *l,const char *t,SectionType st)
- { label=l; title=t; type=st; definition=0; }
+ SectionInfo(const char *l,const char *t,SectionType st,const char *r=0)
+ { label=l; title=t; type=st; ref=r; definition=0; pageRef=0; }
~SectionInfo() {}
QCString label;
QCString title;
+ QCString ref;
SectionType type;
Definition *definition;
+ PageInfo *pageRef;
QCString fileName;
};
-class SectionList : public QList<SectionInfo>
-{
-};
-
class SectionDict : public QDict<SectionInfo>
{
public: