summaryrefslogtreecommitdiffstats
path: root/addon/xmlparse/paramhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'addon/xmlparse/paramhandler.h')
-rw-r--r--addon/xmlparse/paramhandler.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/addon/xmlparse/paramhandler.h b/addon/xmlparse/paramhandler.h
new file mode 100644
index 0000000..062bab1
--- /dev/null
+++ b/addon/xmlparse/paramhandler.h
@@ -0,0 +1,34 @@
+#ifndef _PARAMHANDLER_H
+#define _PARAMHANDLER_H
+
+#include <qstring.h>
+#include <qlist.h>
+#include <qxml.h>
+
+#include "basehandler.h"
+
+class ParamHandler : public BaseHandler<ParamHandler>
+{
+ public:
+ virtual void startParam(const QXmlAttributes& attrib);
+ virtual void endParam();
+ virtual void endType();
+ virtual void endDeclName();
+ virtual void endDefName();
+ virtual void endAttrib();
+ virtual void endArray();
+ virtual void endDefVal();
+
+ ParamHandler(IBaseHandler *parent);
+ virtual ~ParamHandler();
+ private:
+ IBaseHandler *m_parent;
+ QString m_type;
+ QString m_declName;
+ QString m_defName;
+ QString m_attrib;
+ QString m_array;
+ QString m_defVal;
+};
+
+#endif