diff options
Diffstat (limited to 'Swiften/Parser/ExpatParser.h')
| -rw-r--r-- | Swiften/Parser/ExpatParser.h | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/Swiften/Parser/ExpatParser.h b/Swiften/Parser/ExpatParser.h index 359f786..415f40b 100644 --- a/Swiften/Parser/ExpatParser.h +++ b/Swiften/Parser/ExpatParser.h @@ -6,8 +6,8 @@  #pragma once -#include <expat.h>  #include <boost/noncopyable.hpp> +#include <boost/shared_ptr.hpp>  #include <Swiften/Parser/XMLParser.h> @@ -19,11 +19,10 @@ namespace Swift {  			bool parse(const std::string& data); -			XML_Parser getParser() { -				return parser_; -			} +			void stopParser();  		private: -			XML_Parser parser_; +			class Private; +			boost::shared_ptr<Private> p;  	};  } | 
 Swift
 Swift