Files
@ 8c7caaf94a3f
Branch filter:
Location: libtransport.git/include/transport/BlockParser.h - annotation
8c7caaf94a3f
776 B
text/plain
send subscribe presence as response to error presence only when error type is SubscriptionRequested
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_;
};
}
|