2020-01-03 20:05:16 +01:00
|
|
|
// 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
|
|
|
|
|
2021-08-27 21:20:42 +02:00
|
|
|
#ifndef IRR_I_XML_READER_H_INCLUDED
|
|
|
|
#define IRR_I_XML_READER_H_INCLUDED
|
2020-01-03 20:05:16 +01:00
|
|
|
|
|
|
|
#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
|
|
|
|
information 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 information on how to use the parser, see IIrrXMLReader */
|
|
|
|
typedef IIrrXMLReader<c8, IReferenceCounted> IXMLReaderUTF8;
|
|
|
|
|
|
|
|
} // end namespace io
|
|
|
|
} // end namespace irr
|
|
|
|
|
|
|
|
#endif
|