IXMLReader.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. #ifndef __I_XML_READER_H_INCLUDED__
  5. #define __I_XML_READER_H_INCLUDED__
  6. #include "IReferenceCounted.h"
  7. #include "irrXML.h"
  8. namespace irr
  9. {
  10. namespace io
  11. {
  12. //! An xml reader for wide characters, derived from IReferenceCounted.
  13. /** This XML Parser can read any type of text files from any source
  14. Irrlicht can read. Just call IFileSystem::createXMLReader(). For more
  15. informations on how to use the parser, see IIrrXMLReader */
  16. typedef IIrrXMLReader<wchar_t, IReferenceCounted> IXMLReader;
  17. //! An xml reader for ASCII or UTF-8 characters, derived from IReferenceCounted.
  18. /** This XML Parser can read any type of text files from any source
  19. Irrlicht can read. Just call IFileSystem::createXMLReaderUTF8(). For
  20. more informations on how to use the parser, see IIrrXMLReader */
  21. typedef IIrrXMLReader<c8, IReferenceCounted> IXMLReaderUTF8;
  22. } // end namespace io
  23. } // end namespace irr
  24. #endif