1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 #ifndef __I_OS_OPERATOR_H_INCLUDED__
\r
6 #define __I_OS_OPERATOR_H_INCLUDED__
\r
8 #include "IReferenceCounted.h"
\r
9 #include "irrString.h"
\r
14 //! The Operating system operator provides operation system specific methods and information.
\r
15 class IOSOperator : public virtual IReferenceCounted
\r
18 //! Get the current operation system version as string.
\r
19 virtual const core::stringc& getOperatingSystemVersion() const = 0;
\r
21 //! Get the current operation system version as string.
\r
22 /** \deprecated Use getOperatingSystemVersion instead. This method will be removed in Irrlicht 1.9. */
\r
23 _IRR_DEPRECATED_ const wchar_t* getOperationSystemVersion() const
\r
25 return core::stringw(getOperatingSystemVersion()).c_str();
\r
28 //! Copies text to the clipboard
\r
29 virtual void copyToClipboard(const c8* text) const = 0;
\r
31 //! Get text from the clipboard
\r
32 /** \return Returns 0 if no string is in there. */
\r
33 virtual const c8* getTextFromClipboard() const = 0;
\r
35 //! Get the total and available system RAM
\r
36 /** \param totalBytes: will contain the total system memory in Kilobytes (1024 B)
\r
37 \param availableBytes: will contain the available memory in Kilobytes (1024 B)
\r
38 \return True if successful, false if not */
\r
39 virtual bool getSystemMemory(u32* totalBytes, u32* availableBytes) const = 0;
\r