irrlicht/source/Irrlicht/CImageWriterPSD.cpp
bitplane 30b56d2ec5 Moved everything to /trunk
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00

38 lines
714 B
C++

#include "CImageWriterPSD.h"
#include "CImageLoaderPSD.h"
#include "IWriteFile.h"
#include "os.h" // for logging
#include "irrString.h"
namespace irr
{
namespace video
{
IImageWriter* createImageWriterPSD()
{
return new CImageWriterPSD;
}
CImageWriterPSD::CImageWriterPSD()
{
#ifdef _DEBUG
setDebugName("CImageWriterPSD");
#endif
}
bool CImageWriterPSD::isAWriteableFileExtension(const c8* fileName)
{
return strstr(fileName, ".psd") != 0;
}
bool CImageWriterPSD::writeImage(io::IWriteFile *file, IImage *image,u32 param)
{
os::Printer::log("PSD writer not yet implemented. Image not written.", ELL_WARNING);
return false;
}
} // namespace video
} // namespace irr