summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlightxmlstreamer.h
blob: 872eed268deaf321ec52a6c8700c26c394338a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef QTESTLIGHTXMLSTREAMER_H
#define QTESTLIGHTXMLSTREAMER_H

#include "qtestbasicstreamer.h"

QT_BEGIN_NAMESPACE

class QTestElement;
class QTestElementAttribute;

class QTestLightXmlStreamer: public QTestBasicStreamer
{
    public:
        QTestLightXmlStreamer();
        ~QTestLightXmlStreamer();

        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