Go to the documentation of this file.00001
00002
00003
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 }
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 }
00042 }
00043
00044 #endif // _I_IMAGE_WRITER_H_INCLUDED__
00045