diff --git a/include/Swiften/Parser/PayloadParsers/HintPayloadParser.h b/include/Swiften/Parser/PayloadParsers/HintPayloadParser.h new file mode 100644 index 0000000000000000000000000000000000000000..6dd9f0be5224a1f9b859255fec58bbe6f76b43a1 --- /dev/null +++ b/include/Swiften/Parser/PayloadParsers/HintPayloadParser.h @@ -0,0 +1,24 @@ +/* + * Implements XEP-0334: Message Processing Hints + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include +#include + +namespace Swift { + class HintPayloadParser : public GenericPayloadParser { + public: + HintPayloadParser(); + + 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_; + }; +}