aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppPacket.h')
-rw-r--r--source/QXmppPacket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/QXmppPacket.h b/source/QXmppPacket.h
index bb96c790..95f698fb 100644
--- a/source/QXmppPacket.h
+++ b/source/QXmppPacket.h
@@ -27,6 +27,7 @@
#include <QByteArray>
+class QXmlStreamWriter;
class QXmppPacket
{
public:
@@ -34,7 +35,7 @@ public:
~QXmppPacket();
QByteArray getXmlReceived() const;
- virtual QByteArray toXml() const = 0;
+ virtual void toXml( QXmlStreamWriter *writer ) const = 0;
private:
QByteArray m_xmlReceived;