Files
@ 8b6068588621
Branch filter:
Location: libtransport.git/include/transport/BlockParser.h - annotation
8b6068588621
776 B
text/plain
Split Template backend into more files
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_;
};
}
|