diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp b/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp index 952eb0b..d353520 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp +++ b/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp | |||
@@ -1,46 +1,46 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #include "CImageWriterPSD.h" | 5 | #include "CImageWriterPSD.h" |
6 | 6 | ||
7 | #ifdef _IRR_COMPILE_WITH_PSD_WRITER_ | 7 | #ifdef _IRR_COMPILE_WITH_PSD_WRITER_ |
8 | 8 | ||
9 | #include "CImageLoaderPSD.h" | 9 | #include "CImageLoaderPSD.h" |
10 | #include "IWriteFile.h" | 10 | #include "IWriteFile.h" |
11 | #include "os.h" // for logging | 11 | #include "os.h" // for logging |
12 | #include "irrString.h" | 12 | #include "irrString.h" |
13 | 13 | ||
14 | namespace irr | 14 | namespace irr |
15 | { | 15 | { |
16 | namespace video | 16 | namespace video |
17 | { | 17 | { |
18 | 18 | ||
19 | IImageWriter* createImageWriterPSD() | 19 | IImageWriter* createImageWriterPSD() |
20 | { | 20 | { |
21 | return new CImageWriterPSD; | 21 | return new CImageWriterPSD; |
22 | } | 22 | } |
23 | 23 | ||
24 | CImageWriterPSD::CImageWriterPSD() | 24 | CImageWriterPSD::CImageWriterPSD() |
25 | { | 25 | { |
26 | #ifdef _DEBUG | 26 | #ifdef _DEBUG |
27 | setDebugName("CImageWriterPSD"); | 27 | setDebugName("CImageWriterPSD"); |
28 | #endif | 28 | #endif |
29 | } | 29 | } |
30 | 30 | ||
31 | bool CImageWriterPSD::isAWriteableFileExtension(const io::path& filename) const | 31 | bool CImageWriterPSD::isAWriteableFileExtension(const io::path& filename) const |
32 | { | 32 | { |
33 | return core::hasFileExtension ( filename, "psd" ); | 33 | return core::hasFileExtension ( filename, "psd" ); |
34 | } | 34 | } |
35 | 35 | ||
36 | bool CImageWriterPSD::writeImage(io::IWriteFile *file, IImage *image,u32 param) const | 36 | bool CImageWriterPSD::writeImage(io::IWriteFile *file, IImage *image,u32 param) const |
37 | { | 37 | { |
38 | os::Printer::log("PSD writer not yet implemented. Image not written.", ELL_WARNING); | 38 | os::Printer::log("PSD writer not yet implemented. Image not written.", ELL_WARNING); |
39 | return false; | 39 | return false; |
40 | } | 40 | } |
41 | 41 | ||
42 | } // namespace video | 42 | } // namespace video |
43 | } // namespace irr | 43 | } // namespace irr |
44 | 44 | ||
45 | #endif | 45 | #endif |
46 | 46 | ||