aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IImageLoader.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IImageLoader.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/include/IImageLoader.h')
-rw-r--r--libraries/irrlicht-1.8/include/IImageLoader.h106
1 files changed, 53 insertions, 53 deletions
diff --git a/libraries/irrlicht-1.8/include/IImageLoader.h b/libraries/irrlicht-1.8/include/IImageLoader.h
index 5ff091d..77603f5 100644
--- a/libraries/irrlicht-1.8/include/IImageLoader.h
+++ b/libraries/irrlicht-1.8/include/IImageLoader.h
@@ -1,53 +1,53 @@
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_SURFACE_LOADER_H_INCLUDED__ 5#ifndef __I_SURFACE_LOADER_H_INCLUDED__
6#define __I_SURFACE_LOADER_H_INCLUDED__ 6#define __I_SURFACE_LOADER_H_INCLUDED__
7 7
8#include "IReferenceCounted.h" 8#include "IReferenceCounted.h"
9#include "IImage.h" 9#include "IImage.h"
10#include "path.h" 10#include "path.h"
11 11
12namespace irr 12namespace irr
13{ 13{
14namespace io 14namespace io
15{ 15{
16 class IReadFile; 16 class IReadFile;
17} // end namespace io 17} // end namespace io
18namespace video 18namespace video
19{ 19{
20 20
21//! Class which is able to create a image from a file. 21//! Class which is able to create a image from a file.
22/** If you want the Irrlicht Engine be able to load textures of 22/** If you want the Irrlicht Engine be able to load textures of
23currently unsupported file formats (e.g .gif), then implement 23currently unsupported file formats (e.g .gif), then implement
24this and add your new Surface loader with 24this and add your new Surface loader with
25IVideoDriver::addExternalImageLoader() to the engine. */ 25IVideoDriver::addExternalImageLoader() to the engine. */
26class IImageLoader : public virtual IReferenceCounted 26class IImageLoader : public virtual IReferenceCounted
27{ 27{
28public: 28public:
29 29
30 //! Check if the file might be loaded by this class 30 //! Check if the file might be loaded by this class
31 /** Check is based on the file extension (e.g. ".tga") 31 /** Check is based on the file extension (e.g. ".tga")
32 \param filename Name of file to check. 32 \param filename Name of file to check.
33 \return True if file seems to be loadable. */ 33 \return True if file seems to be loadable. */
34 virtual bool isALoadableFileExtension(const io::path& filename) const = 0; 34 virtual bool isALoadableFileExtension(const io::path& filename) const = 0;
35 35
36 //! Check if the file might be loaded by this class 36 //! Check if the file might be loaded by this class
37 /** Check might look into the file. 37 /** Check might look into the file.
38 \param file File handle to check. 38 \param file File handle to check.
39 \return True if file seems to be loadable. */ 39 \return True if file seems to be loadable. */
40 virtual bool isALoadableFileFormat(io::IReadFile* file) const = 0; 40 virtual bool isALoadableFileFormat(io::IReadFile* file) const = 0;
41 41
42 //! Creates a surface from the file 42 //! Creates a surface from the file
43 /** \param file File handle to check. 43 /** \param file File handle to check.
44 \return Pointer to newly created image, or 0 upon error. */ 44 \return Pointer to newly created image, or 0 upon error. */
45 virtual IImage* loadImage(io::IReadFile* file) const = 0; 45 virtual IImage* loadImage(io::IReadFile* file) const = 0;
46}; 46};
47 47
48 48
49} // end namespace video 49} // end namespace video
50} // end namespace irr 50} // end namespace irr
51 51
52#endif 52#endif
53 53