/* * Copyright (c) 2011 Jan Kaluza * Licensed under the Simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #include #include #include #include #include namespace Swift { AttentionSerializer::AttentionSerializer() : GenericPayloadSerializer() { } std::string AttentionSerializer::serializePayload(boost::shared_ptr attention) const { XMLElement attentionElement("attention", "urn:xmpp:attention:0"); return attentionElement.serialize(); } }