diff options
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/ErrorSerializer.h')
-rw-r--r-- | Swiften/Serializer/PayloadSerializers/ErrorSerializer.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h b/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h new file mode 100644 index 0000000..931596f --- /dev/null +++ b/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h @@ -0,0 +1,16 @@ +#ifndef SWIFTEN_ErrorSerializer_H +#define SWIFTEN_ErrorSerializer_H + +#include "Swiften/Serializer/GenericPayloadSerializer.h" +#include "Swiften/Elements/ErrorPayload.h" + +namespace Swift { + class ErrorSerializer : public GenericPayloadSerializer<ErrorPayload> { + public: + ErrorSerializer(); + + virtual String serializePayload(boost::shared_ptr<ErrorPayload> error) const; + }; +} + +#endif |