diff --git a/include/Swiften/Parser/PayloadParsers/BlockParser.h b/include/Swiften/Parser/PayloadParsers/BlockParser.h new file mode 100644 index 0000000000000000000000000000000000000000..f170047afc1f9abf8eb07a9c7027801bc9204038 --- /dev/null +++ b/include/Swiften/Parser/PayloadParsers/BlockParser.h @@ -0,0 +1,26 @@ +/* + * 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 Swift { + class BlockParser : public GenericPayloadParser { + public: + BlockParser(); + + 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_; + }; +}