Files
@ 829c94f3d6c9
Branch filter:
Location: libtransport.git/include/Swiften/Parser/PayloadParsers/InvisibleParser.h - annotation
829c94f3d6c9
781 B
text/plain
Added way to disable xhtmlim from backend and don't handle messages with empty body
c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 | /*
* Copyright (c) 2011 Jan Kaluza
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <Swiften/Elements/InvisiblePayload.h>
#include <Swiften/Parser/GenericPayloadParser.h>
// This payload is NOT part of ANY XEP and it is only
// libtransport related extension.
namespace Swift {
class InvisibleParser : public GenericPayloadParser<InvisiblePayload> {
public:
InvisibleParser();
virtual void handleStartElement(const std::string& element, const std::string&, const AttributeMap& attributes);
virtual void handleEndElement(const std::string& element, const std::string&);
virtual void handleCharacterData(const std::string& data);
// private:
// int level_;
};
}
|