aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp b/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
deleted file mode 100644
index d353520..0000000
--- a/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
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
5#include "CImageWriterPSD.h"
6
7#ifdef _IRR_COMPILE_WITH_PSD_WRITER_
8
9#include "CImageLoaderPSD.h"
10#include "IWriteFile.h"
11#include "os.h" // for logging
12#include "irrString.h"
13
14namespace irr
15{
16namespace video
17{
18
19IImageWriter* createImageWriterPSD()
20{
21 return new CImageWriterPSD;
22}
23
24CImageWriterPSD::CImageWriterPSD()
25{
26#ifdef _DEBUG
27 setDebugName("CImageWriterPSD");
28#endif
29}
30
31bool CImageWriterPSD::isAWriteableFileExtension(const io::path& filename) const
32{
33 return core::hasFileExtension ( filename, "psd" );
34}
35
36bool CImageWriterPSD::writeImage(io::IWriteFile *file, IImage *image,u32 param) const
37{
38 os::Printer::log("PSD writer not yet implemented. Image not written.", ELL_WARNING);
39 return false;
40}
41
42} // namespace video
43} // namespace irr
44
45#endif
46