summaryrefslogtreecommitdiff
path: root/include/IXMLReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/IXMLReader.h')
-rw-r--r--include/IXMLReader.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/IXMLReader.h b/include/IXMLReader.h
new file mode 100644
index 0000000..3f34cb8
--- /dev/null
+++ b/include/IXMLReader.h
@@ -0,0 +1,31 @@
+// Copyright (C) 2002-2012 Nikolaus Gebhardt
+// This file is part of the "Irrlicht Engine".
+// For conditions of distribution and use, see copyright notice in irrlicht.h
+
+#ifndef __I_XML_READER_H_INCLUDED__
+#define __I_XML_READER_H_INCLUDED__
+
+#include "IReferenceCounted.h"
+#include "irrXML.h"
+
+namespace irr
+{
+namespace io
+{
+ //! An xml reader for wide characters, derived from IReferenceCounted.
+ /** This XML Parser can read any type of text files from any source
+ Irrlicht can read. Just call IFileSystem::createXMLReader(). For more
+ informations on how to use the parser, see IIrrXMLReader */
+ typedef IIrrXMLReader<wchar_t, IReferenceCounted> IXMLReader;
+
+ //! An xml reader for ASCII or UTF-8 characters, derived from IReferenceCounted.
+ /** This XML Parser can read any type of text files from any source
+ Irrlicht can read. Just call IFileSystem::createXMLReaderUTF8(). For
+ more informations on how to use the parser, see IIrrXMLReader */
+ typedef IIrrXMLReader<c8, IReferenceCounted> IXMLReaderUTF8;
+
+} // end namespace io
+} // end namespace irr
+
+#endif
+