diff options
Diffstat (limited to 'Swiften/Parser/LibXMLParser.h')
-rw-r--r-- | Swiften/Parser/LibXMLParser.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/Parser/LibXMLParser.h b/Swiften/Parser/LibXMLParser.h index cd73637..25c0604 100644 --- a/Swiften/Parser/LibXMLParser.h +++ b/Swiften/Parser/LibXMLParser.h @@ -6,8 +6,8 @@ #pragma once -#include <libxml/parser.h> #include <boost/noncopyable.hpp> +#include <boost/shared_ptr.hpp> #include <Swiften/Parser/XMLParser.h> @@ -25,7 +25,8 @@ namespace Swift { private: static bool initialized; - xmlSAXHandler handler_; - xmlParserCtxtPtr context_; + + class Private; + boost::shared_ptr<Private> p; }; } |