blob: fb9201726062fe71690712cf27bc1402f456abf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright (c) 2015-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <Swiften/Serializer/PayloadSerializers/CarbonsPrivateSerializer.h>
#include <Swiften/Serializer/XML/XMLElement.h>
namespace Swift {
CarbonsPrivateSerializer::CarbonsPrivateSerializer() : GenericPayloadSerializer<CarbonsPrivate>() {
}
CarbonsPrivateSerializer::~CarbonsPrivateSerializer() {
}
std::string CarbonsPrivateSerializer::serializePayload(std::shared_ptr<CarbonsPrivate>) const {
XMLElement element("private", "urn:xmpp:carbons:2");
return element.serialize();
}
}
|