]> git.lizzy.rs Git - irrlicht.git/blob - source/Irrlicht/CImageWriterJPG.h
Reduce IrrCompileConfig usage to files that actually need it
[irrlicht.git] / source / Irrlicht / CImageWriterJPG.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef _C_IMAGE_WRITER_JPG_H_INCLUDED__\r
6 #define _C_IMAGE_WRITER_JPG_H_INCLUDED__\r
7 \r
8 \r
9 #include "IImageWriter.h"\r
10 \r
11 namespace irr\r
12 {\r
13 namespace video\r
14 {\r
15 \r
16 class CImageWriterJPG : public IImageWriter\r
17 {\r
18 public:\r
19         //! constructor\r
20         CImageWriterJPG();\r
21 \r
22         //! return true if this writer can write a file with the given extension\r
23         bool isAWriteableFileExtension(const io::path& filename) const override;\r
24 \r
25         //! write image to file\r
26         bool writeImage(io::IWriteFile *file, IImage *image, u32 param) const override;\r
27 };\r
28 \r
29 }\r
30 }\r
31 \r
32 #endif // _C_IMAGE_WRITER_JPG_H_INCLUDED__\r