summaryrefslogtreecommitdiffstats
path: root/src/classlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/classlist.h')
-rw-r--r--src/classlist.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/classlist.h b/src/classlist.h
index 02521d0..23c247e 100644
--- a/src/classlist.h
+++ b/src/classlist.h
@@ -22,6 +22,7 @@
#include <qdict.h>
#include "classdef.h"
+#include "sortdict.h"
class ClassList : public QList<ClassDef>
{
@@ -30,8 +31,6 @@ class ClassList : public QList<ClassDef>
~ClassList();
int compareItems(GCI item1,GCI item2);
- void writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter=0,
- const char *header=0);
};
class ClassListIterator : public QListIterator<ClassDef>
@@ -47,4 +46,14 @@ class ClassDict : public QDict<ClassDef>
~ClassDict() {}
};
+class ClassSDict : public SDict<ClassDef>
+{
+ public:
+ ClassSDict(int size) : SDict<ClassDef>(size) {}
+ ~ClassSDict() {}
+ int compareItems(GCI item1,GCI item2);
+ void writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter=0,
+ const char *header=0);
+};
+
#endif