aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPPM.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/source/Irrlicht/CImageLoaderPPM.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 '')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPPM.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPPM.h b/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPPM.h
index 3c015a8..d3c6606 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPPM.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPPM.h
@@ -1,55 +1,55 @@
1// Copyright (C) 2007-2012 Christian Stehno 1// Copyright (C) 2007-2012 Christian Stehno
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 __C_IMAGE_LOADER_PPM_H_INCLUDED__ 5#ifndef __C_IMAGE_LOADER_PPM_H_INCLUDED__
6#define __C_IMAGE_LOADER_PPM_H_INCLUDED__ 6#define __C_IMAGE_LOADER_PPM_H_INCLUDED__
7 7
8#include "IrrCompileConfig.h" 8#include "IrrCompileConfig.h"
9 9
10#ifdef _IRR_COMPILE_WITH_PPM_LOADER_ 10#ifdef _IRR_COMPILE_WITH_PPM_LOADER_
11 11
12#include "IImageLoader.h" 12#include "IImageLoader.h"
13#include "irrString.h" 13#include "irrString.h"
14 14
15 15
16namespace irr 16namespace irr
17{ 17{
18namespace video 18namespace video
19{ 19{
20 20
21 21
22/*! 22/*!
23 Surface Loader for SUN Pixmaps 23 Surface Loader for SUN Pixmaps
24*/ 24*/
25class CImageLoaderPPM : public IImageLoader 25class CImageLoaderPPM : public IImageLoader
26{ 26{
27public: 27public:
28 28
29 //! constructor 29 //! constructor
30 CImageLoaderPPM(); 30 CImageLoaderPPM();
31 31
32 //! returns true if the file maybe is able to be loaded by this class 32 //! returns true if the file maybe is able to be loaded by this class
33 //! based on the file extension (e.g. ".tga") 33 //! based on the file extension (e.g. ".tga")
34 virtual bool isALoadableFileExtension(const io::path& filename) const; 34 virtual bool isALoadableFileExtension(const io::path& filename) const;
35 35
36 //! returns true if the file maybe is able to be loaded by this class 36 //! returns true if the file maybe is able to be loaded by this class
37 virtual bool isALoadableFileFormat(io::IReadFile* file) const; 37 virtual bool isALoadableFileFormat(io::IReadFile* file) const;
38 38
39 //! creates a surface from the file 39 //! creates a surface from the file
40 virtual IImage* loadImage(io::IReadFile* file) const; 40 virtual IImage* loadImage(io::IReadFile* file) const;
41 41
42private: 42private:
43 //! read the next token from file 43 //! read the next token from file
44 void getNextToken(io::IReadFile* file, core::stringc& token) const; 44 void getNextToken(io::IReadFile* file, core::stringc& token) const;
45 //! skip to next token (skip whitespace) 45 //! skip to next token (skip whitespace)
46 void skipToNextToken(io::IReadFile* file) const; 46 void skipToNextToken(io::IReadFile* file) const;
47}; 47};
48 48
49} // end namespace video 49} // end namespace video
50} // end namespace irr 50} // end namespace irr
51 51
52 52
53#endif 53#endif
54#endif 54#endif
55 55