aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IOSOperator.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/include/IOSOperator.h')
-rw-r--r--libraries/irrlicht-1.8/include/IOSOperator.h100
1 files changed, 50 insertions, 50 deletions
diff --git a/libraries/irrlicht-1.8/include/IOSOperator.h b/libraries/irrlicht-1.8/include/IOSOperator.h
index 22fb691..b5c6236 100644
--- a/libraries/irrlicht-1.8/include/IOSOperator.h
+++ b/libraries/irrlicht-1.8/include/IOSOperator.h
@@ -1,50 +1,50 @@
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_OS_OPERATOR_H_INCLUDED__ 5#ifndef __I_OS_OPERATOR_H_INCLUDED__
6#define __I_OS_OPERATOR_H_INCLUDED__ 6#define __I_OS_OPERATOR_H_INCLUDED__
7 7
8#include "IReferenceCounted.h" 8#include "IReferenceCounted.h"
9#include "irrString.h" 9#include "irrString.h"
10 10
11namespace irr 11namespace irr
12{ 12{
13 13
14//! The Operating system operator provides operation system specific methods and informations. 14//! The Operating system operator provides operation system specific methods and informations.
15class IOSOperator : public virtual IReferenceCounted 15class IOSOperator : public virtual IReferenceCounted
16{ 16{
17public: 17public:
18 //! Get the current operation system version as string. 18 //! Get the current operation system version as string.
19 virtual const core::stringc& getOperatingSystemVersion() const = 0; 19 virtual const core::stringc& getOperatingSystemVersion() const = 0;
20 20
21 //! Get the current operation system version as string. 21 //! Get the current operation system version as string.
22 /** \deprecated Use getOperatingSystemVersion instead. This method will be removed in Irrlicht 1.9. */ 22 /** \deprecated Use getOperatingSystemVersion instead. This method will be removed in Irrlicht 1.9. */
23 _IRR_DEPRECATED_ const wchar_t* getOperationSystemVersion() const 23 _IRR_DEPRECATED_ const wchar_t* getOperationSystemVersion() const
24 { 24 {
25 return core::stringw(getOperatingSystemVersion()).c_str(); 25 return core::stringw(getOperatingSystemVersion()).c_str();
26 } 26 }
27 27
28 //! Copies text to the clipboard 28 //! Copies text to the clipboard
29 virtual void copyToClipboard(const c8* text) const = 0; 29 virtual void copyToClipboard(const c8* text) const = 0;
30 30
31 //! Get text from the clipboard 31 //! Get text from the clipboard
32 /** \return Returns 0 if no string is in there. */ 32 /** \return Returns 0 if no string is in there. */
33 virtual const c8* getTextFromClipboard() const = 0; 33 virtual const c8* getTextFromClipboard() const = 0;
34 34
35 //! Get the processor speed in megahertz 35 //! Get the processor speed in megahertz
36 /** \param MHz The integer variable to store the speed in. 36 /** \param MHz The integer variable to store the speed in.
37 \return True if successful, false if not */ 37 \return True if successful, false if not */
38 virtual bool getProcessorSpeedMHz(u32* MHz) const = 0; 38 virtual bool getProcessorSpeedMHz(u32* MHz) const = 0;
39 39
40 //! Get the total and available system RAM 40 //! Get the total and available system RAM
41 /** \param Total: will contain the total system memory 41 /** \param Total: will contain the total system memory
42 \param Avail: will contain the available memory 42 \param Avail: will contain the available memory
43 \return True if successful, false if not */ 43 \return True if successful, false if not */
44 virtual bool getSystemMemory(u32* Total, u32* Avail) const = 0; 44 virtual bool getSystemMemory(u32* Total, u32* Avail) const = 0;
45 45
46}; 46};
47 47
48} // end namespace 48} // end namespace
49 49
50#endif 50#endif