Files
@ 342df599be76
Branch filter:
Location: libtransport.git/include/transport/BlockParser.h - annotation
342df599be76
776 B
text/plain
link libtransport to libtransport-plugin to allow using these two libraries together
8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 b3725b47c4ba 8ee031044843 8ee031044843 8ee031044843 8ee031044843 b3725b47c4ba b3725b47c4ba 8ee031044843 8ee031044843 8ee031044843 b3725b47c4ba 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 8ee031044843 | /*
* Copyright (c) 2011 Jan Kaluza
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <transport/BlockPayload.h>
#include <Swiften/Parser/GenericPayloadParser.h>
// This payload is NOT part of ANY XEP and it is only
// libtransport related extension.
namespace Transport {
class BlockParser : public Swift::GenericPayloadParser<BlockPayload> {
public:
BlockParser();
virtual void handleStartElement(const std::string& element, const std::string&, const Swift::AttributeMap& attributes);
virtual void handleEndElement(const std::string& element, const std::string&);
virtual void handleCharacterData(const std::string& data);
// private:
// int level_;
};
}
|