diff --git a/include/Swiften/Parser/PayloadParsers/PubSubItemParser.h b/include/Swiften/Parser/PayloadParsers/PubSubItemParser.h new file mode 100644 index 0000000000000000000000000000000000000000..9326f92dd8971d3c7f27e331f8d609390bfbbf4b --- /dev/null +++ b/include/Swiften/Parser/PayloadParsers/PubSubItemParser.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2012 Jan Kaluza + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include + +#include +#include +#include + +namespace Swift { + class PayloadParserFactoryCollection; + class PubSubItemParser : public GenericPayloadTreeParser { + public: + PubSubItemParser(PayloadParserFactoryCollection* collection) : factories(collection) {} + virtual void handleTree(ParserElement::ref root); + private: + PayloadParserFactoryCollection* factories; + }; +}