summaryrefslogtreecommitdiffstats
blob: 935ff4bf012e05f273dd3747f521ddd4526178f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SWIFTEN_PAYLOADSERIALIZER_H
#define SWIFTEN_PAYLOADSERIALIZER_H

#include <boost/shared_ptr.hpp>

#include "Swiften/Base/String.h"
#include "Swiften/Elements/Payload.h"

namespace Swift {
	class PayloadSerializer {
		public:
			virtual ~PayloadSerializer();

			virtual bool canSerialize(boost::shared_ptr<Payload>) const = 0;
			virtual String serialize(boost::shared_ptr<Payload>) const = 0;
	};
}

#endif