summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestxmlstreamer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qtestxmlstreamer.h')
-rw-r--r--src/testlib/qtestxmlstreamer.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/testlib/qtestxmlstreamer.h b/src/testlib/qtestxmlstreamer.h
new file mode 100644
index 0000000..e6858c6
--- /dev/null
+++ b/src/testlib/qtestxmlstreamer.h
@@ -0,0 +1,25 @@
+#ifndef QTESTXMLSTREAMER_H
+#define QTESXMLSTREAMER_H
+
+#include "qtestbasicstreamer.h"
+
+QT_BEGIN_NAMESPACE
+
+class QTestElement;
+class QTestElementAttribute;
+
+class QTestXmlStreamer: public QTestBasicStreamer
+{
+ public:
+ QTestXmlStreamer();
+ ~QTestXmlStreamer();
+
+ void formatStart(const QTestElement *element = 0, char *formatted = 0) const;
+ void formatEnd(const QTestElement *element = 0, char *formatted = 0) const;
+ void formatBeforeAttributes(const QTestElement *element = 0, char *formatted = 0) const;
+ void output(QTestElement *element) const;
+};
+
+QT_END_NAMESPACE
+
+#endif