summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-05-05 07:11:25 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-05-05 07:11:25 (GMT)
commit1824826fffbe9ebf508264db13843bd1a94f0778 (patch)
tree418ce84968cfd33c2ca160a58bf70a498e066f5c /Swiften/Serializer/PayloadSerializers/ErrorSerializer.h
parent14215c76b373ee8bbb7e73d4577f40eec01f5d85 (diff)
downloadswift-contrib-1824826fffbe9ebf508264db13843bd1a94f0778.zip
swift-contrib-1824826fffbe9ebf508264db13843bd1a94f0778.tar.bz2
Serialize error payload.
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/ErrorSerializer.h')
-rw-r--r--Swiften/Serializer/PayloadSerializers/ErrorSerializer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h b/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h
index d06efc8..41e35a9 100644
--- a/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h
@@ -10,10 +10,15 @@
#include <Swiften/Elements/ErrorPayload.h>
namespace Swift {
+ class PayloadSerializerCollection;
+
class ErrorSerializer : public GenericPayloadSerializer<ErrorPayload> {
public:
- ErrorSerializer();
+ ErrorSerializer(PayloadSerializerCollection* serializers);
virtual std::string serializePayload(boost::shared_ptr<ErrorPayload> error) const;
+
+ private:
+ PayloadSerializerCollection* serializers;
};
}