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/COSOperator.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/COSOperator.h | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/COSOperator.h b/libraries/irrlicht-1.8/source/Irrlicht/COSOperator.h index 819805f..3f633da 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/COSOperator.h +++ b/libraries/irrlicht-1.8/source/Irrlicht/COSOperator.h | |||
@@ -1,60 +1,60 @@ | |||
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_OS_OPERATOR_H_INCLUDED__ | 5 | #ifndef __C_OS_OPERATOR_H_INCLUDED__ |
6 | #define __C_OS_OPERATOR_H_INCLUDED__ | 6 | #define __C_OS_OPERATOR_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IOSOperator.h" | 8 | #include "IOSOperator.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | 12 | ||
13 | class CIrrDeviceLinux; | 13 | class CIrrDeviceLinux; |
14 | 14 | ||
15 | //! The Operating system operator provides operation system specific methods and informations. | 15 | //! The Operating system operator provides operation system specific methods and informations. |
16 | class COSOperator : public IOSOperator | 16 | class COSOperator : public IOSOperator |
17 | { | 17 | { |
18 | public: | 18 | public: |
19 | 19 | ||
20 | // constructor | 20 | // constructor |
21 | #if defined(_IRR_COMPILE_WITH_X11_DEVICE_) | 21 | #if defined(_IRR_COMPILE_WITH_X11_DEVICE_) |
22 | COSOperator(const core::stringc& osversion, CIrrDeviceLinux* device); | 22 | COSOperator(const core::stringc& osversion, CIrrDeviceLinux* device); |
23 | #endif | 23 | #endif |
24 | COSOperator(const core::stringc& osversion); | 24 | COSOperator(const core::stringc& osversion); |
25 | 25 | ||
26 | //! returns the current operation system version as string. | 26 | //! returns the current operation system version as string. |
27 | virtual const core::stringc& getOperatingSystemVersion() const; | 27 | virtual const core::stringc& getOperatingSystemVersion() const; |
28 | 28 | ||
29 | //! copies text to the clipboard | 29 | //! copies text to the clipboard |
30 | virtual void copyToClipboard(const c8* text) const; | 30 | virtual void copyToClipboard(const c8* text) const; |
31 | 31 | ||
32 | //! gets text from the clipboard | 32 | //! gets text from the clipboard |
33 | //! \return Returns 0 if no string is in there. | 33 | //! \return Returns 0 if no string is in there. |
34 | virtual const c8* getTextFromClipboard() const; | 34 | virtual const c8* getTextFromClipboard() const; |
35 | 35 | ||
36 | //! gets the processor speed in megahertz | 36 | //! gets the processor speed in megahertz |
37 | //! \param Mhz: | 37 | //! \param Mhz: |
38 | //! \return Returns true if successful, false if not | 38 | //! \return Returns true if successful, false if not |
39 | virtual bool getProcessorSpeedMHz(u32* MHz) const; | 39 | virtual bool getProcessorSpeedMHz(u32* MHz) const; |
40 | 40 | ||
41 | //! gets the total and available system RAM in kB | 41 | //! gets the total and available system RAM in kB |
42 | //! \param Total: will contain the total system memory | 42 | //! \param Total: will contain the total system memory |
43 | //! \param Avail: will contain the available memory | 43 | //! \param Avail: will contain the available memory |
44 | //! \return Returns true if successful, false if not | 44 | //! \return Returns true if successful, false if not |
45 | virtual bool getSystemMemory(u32* Total, u32* Avail) const; | 45 | virtual bool getSystemMemory(u32* Total, u32* Avail) const; |
46 | 46 | ||
47 | private: | 47 | private: |
48 | 48 | ||
49 | core::stringc OperatingSystem; | 49 | core::stringc OperatingSystem; |
50 | 50 | ||
51 | #if defined(_IRR_COMPILE_WITH_X11_DEVICE_) | 51 | #if defined(_IRR_COMPILE_WITH_X11_DEVICE_) |
52 | CIrrDeviceLinux * IrrDeviceLinux; | 52 | CIrrDeviceLinux * IrrDeviceLinux; |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | }; | 55 | }; |
56 | 56 | ||
57 | } // end namespace | 57 | } // end namespace |
58 | 58 | ||
59 | #endif | 59 | #endif |
60 | 60 | ||