diff options
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/ErrorSerializer.h')
-rw-r--r-- | Swiften/Serializer/PayloadSerializers/ErrorSerializer.h | 7 |
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; }; } |