/* * Copyright (c) 2010-2014 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include namespace Swift { class PresenceSerializer : public GenericStanzaSerializer { public: PresenceSerializer(PayloadSerializerCollection* payloadSerializers, const boost::optional& explicitNS = boost::optional()); ~PresenceSerializer() {} private: virtual void setStanzaSpecificAttributesGeneric( boost::shared_ptr presence, XMLElement& element) const; }; }