IXMLWriter.h 829 B

123456789101112131415161718192021222324252627
  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 IRR_I_XML_WRITER_H_INCLUDED
  5. #define IRR_I_XML_WRITER_H_INCLUDED
  6. #include "IReferenceCounted.h"
  7. #include "irrXML.h"
  8. namespace irr
  9. {
  10. namespace io
  11. {
  12. //! An xml writer for wide characters, derived from IReferenceCounted.
  13. /** Call IFileSystem::createXMLReader(). to create an IXMLWriter */
  14. typedef IIrrXMLWriter<wchar_t, IReferenceCounted> IXMLWriter;
  15. //! An xml writer for ASCII or UTF-8 characters, derived from IReferenceCounted.
  16. /** Call IFileSystem::createXMLReaderUtf8(). to create an IXMLWriter */
  17. typedef IIrrXMLWriter<c8, IReferenceCounted> IXMLWriterUTF8;
  18. } // end namespace io
  19. } // end namespace irr
  20. #endif