summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-07-15 06:11:34 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-07-15 06:36:09 (GMT)
commitfbe2f40509da8c6c25d07de18ded3c0e3194ef6b (patch)
treeb607548637144c7328d81eda14cf5784fb34ceb6 /Swiften/Parser/LibXMLParser.h
parent112725e9255eaa314730e4fbbbc7d8709470497f (diff)
downloadswift-contrib-fbe2f40509da8c6c25d07de18ded3c0e3194ef6b.zip
swift-contrib-fbe2f40509da8c6c25d07de18ded3c0e3194ef6b.tar.bz2
Hide XML parser implementations.
Diffstat (limited to 'Swiften/Parser/LibXMLParser.h')
-rw-r--r--Swiften/Parser/LibXMLParser.h7
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;
};
}