diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp | 46 |
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 | |||
14 | namespace irr | ||
15 | { | ||
16 | namespace video | ||
17 | { | ||
18 | |||
19 | IImageWriter* createImageWriterPSD() | ||
20 | { | ||
21 | return new CImageWriterPSD; | ||
22 | } | ||
23 | |||
24 | CImageWriterPSD::CImageWriterPSD() | ||
25 | { | ||
26 | #ifdef _DEBUG | ||
27 | setDebugName("CImageWriterPSD"); | ||
28 | #endif | ||
29 | } | ||
30 | |||
31 | bool CImageWriterPSD::isAWriteableFileExtension(const io::path& filename) const | ||
32 | { | ||
33 | return core::hasFileExtension ( filename, "psd" ); | ||
34 | } | ||
35 | |||
36 | bool 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 | |||