summaryrefslogtreecommitdiffstats
blob: ecf73dcf11d4fe7441269648f4e7317a7905518d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SWIFTEN_ErrorSerializer_H
#define SWIFTEN_ErrorSerializer_H

#include "Swiften/Serializer/GenericPayloadSerializer.h"
#include "Swiften/Elements/Error.h"

namespace Swift {
	class ErrorSerializer : public GenericPayloadSerializer<Error> {
		public:
			ErrorSerializer();

			virtual String serializePayload(boost::shared_ptr<Error> error)  const;
	};
}

#endif