aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IImageWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/include/IImageWriter.h')
-rw-r--r--libraries/irrlicht-1.8/include/IImageWriter.h90
1 files changed, 45 insertions, 45 deletions
diff --git a/libraries/irrlicht-1.8/include/IImageWriter.h b/libraries/irrlicht-1.8/include/IImageWriter.h
index 884a488..fd00793 100644
--- a/libraries/irrlicht-1.8/include/IImageWriter.h
+++ b/libraries/irrlicht-1.8/include/IImageWriter.h
@@ -1,45 +1,45 @@
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#ifndef _I_IMAGE_WRITER_H_INCLUDED__ 5#ifndef _I_IMAGE_WRITER_H_INCLUDED__
6#define _I_IMAGE_WRITER_H_INCLUDED__ 6#define _I_IMAGE_WRITER_H_INCLUDED__
7 7
8#include "IReferenceCounted.h" 8#include "IReferenceCounted.h"
9#include "irrString.h" 9#include "irrString.h"
10#include "coreutil.h" 10#include "coreutil.h"
11 11
12namespace irr 12namespace irr
13{ 13{
14namespace io 14namespace io
15{ 15{
16 class IWriteFile; 16 class IWriteFile;
17} // end namespace io 17} // end namespace io
18 18
19namespace video 19namespace video
20{ 20{
21 class IImage; 21 class IImage;
22 22
23 23
24//! Interface for writing software image data. 24//! Interface for writing software image data.
25class IImageWriter : public IReferenceCounted 25class IImageWriter : public IReferenceCounted
26{ 26{
27public: 27public:
28 //! Check if this writer can write a file with the given extension 28 //! Check if this writer can write a file with the given extension
29 /** \param filename Name of the file to check. 29 /** \param filename Name of the file to check.
30 \return True if file extension specifies a writable type. */ 30 \return True if file extension specifies a writable type. */
31 virtual bool isAWriteableFileExtension(const io::path& filename) const = 0; 31 virtual bool isAWriteableFileExtension(const io::path& filename) const = 0;
32 32
33 //! Write image to file 33 //! Write image to file
34 /** \param file File handle to write to. 34 /** \param file File handle to write to.
35 \param image Image to write into file. 35 \param image Image to write into file.
36 \param param Writer specific parameter, influencing e.g. quality. 36 \param param Writer specific parameter, influencing e.g. quality.
37 \return True if image was successfully written. */ 37 \return True if image was successfully written. */
38 virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param = 0) const = 0; 38 virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param = 0) const = 0;
39}; 39};
40 40
41} // namespace video 41} // namespace video
42} // namespace irr 42} // namespace irr
43 43
44#endif // _I_IMAGE_WRITER_H_INCLUDED__ 44#endif // _I_IMAGE_WRITER_H_INCLUDED__
45 45