/* * Copyright (c) 2010-2019 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include #include namespace Swift { class SWIFTEN_API ExpatParser : public XMLParser, public boost::noncopyable { public: ExpatParser(XMLParserClient* client, bool allowComments = false); ~ExpatParser(); bool parse(const std::string& data, bool finalData = false); void stopParser(); private: struct Private; const std::unique_ptr p; }; }