| Irrlicht 3D Engine |

IImageWriter.h
Go to the documentation of this file.

    00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004
    00005 #ifndef _I_IMAGE_WRITER_H_INCLUDED__
    00006 #define _I_IMAGE_WRITER_H_INCLUDED__
    00007
    00008 #include "IReferenceCounted.h"
    00009 #include "irrString.h"
    00010 #include "coreutil.h"
    00011
    00012 namespace irr
    00013 {
    00014 namespace io
    00015 {
    00016     class IWriteFile;
    00017 } // end namespace io
    00018
    00019 namespace video
    00020 {
    00021     class IImage;
    00022
    00023
    00025 class IImageWriter : public IReferenceCounted
    00026 {
    00027 public:
    00029
    00031     virtual bool isAWriteableFileExtension(const io::path& filename) const = 0;
    00032
    00034
    00038     virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param = 0) const = 0;
    00039 };
    00040
    00041 } // namespace video
    00042 } // namespace irr
    00043
    00044 #endif // _I_IMAGE_WRITER_H_INCLUDED__
    00045