summaryrefslogtreecommitdiffstats
blob: ce4e399a8f6178b87531d9c8c1a95b6c325f7ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "Swiften/Serializer/PayloadSerializers/VCardSerializer.h"

#include <boost/shared_ptr.hpp>

#include "Swiften/Serializer/XML/XMLElement.h"

namespace Swift {

VCardSerializer::VCardSerializer() : GenericPayloadSerializer<VCard>() {
}

String VCardSerializer::serializePayload(boost::shared_ptr<VCard> discoInfo)  const {
	XMLElement queryElement("vCard", "vcard-temp");
	// TODO
	return queryElement.serialize();
}

}