summaryrefslogtreecommitdiffstats
blob: c655634c5641e4fffa2b2bd5ba65585426f8b7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

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

namespace Swift {
	class PayloadSerializerCollection;

	class PrivateStorageSerializer : public GenericPayloadSerializer<PrivateStorage> {
		public:
			PrivateStorageSerializer(PayloadSerializerCollection* serializers);

			virtual String serializePayload(boost::shared_ptr<PrivateStorage>)  const;

		private:
			PayloadSerializerCollection* serializers;
	};
}