1 // Copyright (C) 2002-2012 Nikolaus Gebhardt 2 // This file is part of the "Irrlicht Engine". 3 // For conditions of distribution and use, see copyright notice in irrlicht.h 4 5 #ifndef __I_XML_READER_H_INCLUDED__ 6 #define __I_XML_READER_H_INCLUDED__ 7 8 #include "IReferenceCounted.h" 9 #include "irrXML.h" 10 11 namespace irr 12 { 13 namespace io 14 { 15 //! An xml reader for wide characters, derived from IReferenceCounted. 16 /** This XML Parser can read any type of text files from any source 17 Irrlicht can read. Just call IFileSystem::createXMLReader(). For more 18 informations on how to use the parser, see IIrrXMLReader */ 19 typedef IIrrXMLReader<wchar_t, IReferenceCounted> IXMLReader; 20 21 //! An xml reader for ASCII or UTF-8 characters, derived from IReferenceCounted. 22 /** This XML Parser can read any type of text files from any source 23 Irrlicht can read. Just call IFileSystem::createXMLReaderUTF8(). For 24 more informations on how to use the parser, see IIrrXMLReader */ 25 typedef IIrrXMLReader<c8, IReferenceCounted> IXMLReaderUTF8; 26 27 } // end namespace io 28 } // end namespace irr 29 30 #endif 31 32