diff options
author | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
commit | 959831f4ef5a3e797f576c3de08cd65032c997ad (patch) | |
tree | e7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/CLogger.h | |
parent | Add info about changes to Irrlicht. (diff) | |
download | SledjHamr-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/CLogger.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h b/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h index 314cb13..10114ff 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h +++ b/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h | |||
@@ -1,56 +1,56 @@ | |||
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 __C_LOGGER_H_INCLUDED__ | 5 | #ifndef __C_LOGGER_H_INCLUDED__ |
6 | #define __C_LOGGER_H_INCLUDED__ | 6 | #define __C_LOGGER_H_INCLUDED__ |
7 | 7 | ||
8 | #include "ILogger.h" | 8 | #include "ILogger.h" |
9 | #include "os.h" | 9 | #include "os.h" |
10 | #include "irrString.h" | 10 | #include "irrString.h" |
11 | #include "IEventReceiver.h" | 11 | #include "IEventReceiver.h" |
12 | 12 | ||
13 | namespace irr | 13 | namespace irr |
14 | { | 14 | { |
15 | 15 | ||
16 | //! Class for logging messages, warnings and errors to stdout | 16 | //! Class for logging messages, warnings and errors to stdout |
17 | class CLogger : public ILogger | 17 | class CLogger : public ILogger |
18 | { | 18 | { |
19 | public: | 19 | public: |
20 | 20 | ||
21 | CLogger(IEventReceiver* r); | 21 | CLogger(IEventReceiver* r); |
22 | 22 | ||
23 | //! Returns the current set log level. | 23 | //! Returns the current set log level. |
24 | virtual ELOG_LEVEL getLogLevel() const; | 24 | virtual ELOG_LEVEL getLogLevel() const; |
25 | 25 | ||
26 | //! Sets a new log level. virtual void setLogLevel(ELOG_LEVEL ll); | 26 | //! Sets a new log level. virtual void setLogLevel(ELOG_LEVEL ll); |
27 | virtual void setLogLevel(ELOG_LEVEL ll); | 27 | virtual void setLogLevel(ELOG_LEVEL ll); |
28 | 28 | ||
29 | //! Prints out a text into the log | 29 | //! Prints out a text into the log |
30 | virtual void log(const c8* text, ELOG_LEVEL ll=ELL_INFORMATION); | 30 | virtual void log(const c8* text, ELOG_LEVEL ll=ELL_INFORMATION); |
31 | 31 | ||
32 | //! Prints out a text into the log | 32 | //! Prints out a text into the log |
33 | virtual void log(const wchar_t* text, ELOG_LEVEL ll=ELL_INFORMATION); | 33 | virtual void log(const wchar_t* text, ELOG_LEVEL ll=ELL_INFORMATION); |
34 | 34 | ||
35 | //! Prints out a text into the log | 35 | //! Prints out a text into the log |
36 | virtual void log(const c8* text, const c8* hint, ELOG_LEVEL ll=ELL_INFORMATION); | 36 | virtual void log(const c8* text, const c8* hint, ELOG_LEVEL ll=ELL_INFORMATION); |
37 | 37 | ||
38 | //! Prints out a text into the log | 38 | //! Prints out a text into the log |
39 | virtual void log(const c8* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION); | 39 | virtual void log(const c8* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION); |
40 | 40 | ||
41 | //! Prints out a text into the log | 41 | //! Prints out a text into the log |
42 | virtual void log(const wchar_t* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION); | 42 | virtual void log(const wchar_t* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION); |
43 | 43 | ||
44 | //! Sets a new event receiver | 44 | //! Sets a new event receiver |
45 | void setReceiver(IEventReceiver* r); | 45 | void setReceiver(IEventReceiver* r); |
46 | 46 | ||
47 | private: | 47 | private: |
48 | 48 | ||
49 | ELOG_LEVEL LogLevel; | 49 | ELOG_LEVEL LogLevel; |
50 | IEventReceiver* Receiver; | 50 | IEventReceiver* Receiver; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | } // end namespace | 53 | } // end namespace |
54 | 54 | ||
55 | #endif | 55 | #endif |
56 | 56 | ||