/* * Copyright (c) 2011-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include namespace Swift { class SWIFTEN_API StreamResumedParser : public GenericElementParser { public: StreamResumedParser(); ~StreamResumedParser(); virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&); virtual void handleEndElement(const std::string&, const std::string&); private: enum Level { TopLevel = 0 }; int level; }; }