diff --git a/include/transport/BlockSerializer.h b/include/transport/BlockSerializer.h new file mode 100644 index 0000000000000000000000000000000000000000..6f2e4fe835f8ee7130ca0e9ce8f2060b05412519 --- /dev/null +++ b/include/transport/BlockSerializer.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2011 Jan Kaluza + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include +#include + +// This payload is NOT part of ANY XEP and it is only +// libtransport related extension. +namespace Transport { + class BlockSerializer : public Swift::GenericPayloadSerializer { + public: + BlockSerializer(); + + virtual std::string serializePayload(boost::shared_ptr) const; + }; +}