Loading...
Searching...
No Matches
IOSOperator.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_OS_OPERATOR_H_INCLUDED__
#define __I_OS_OPERATOR_H_INCLUDED__
#include "IReferenceCounted.h"
#include "irrString.h"
namespace irr
{
class IOSOperator : public virtual IReferenceCounted
{
public:
virtual const core::stringc& getOperatingSystemVersion() const = 0;
_IRR_DEPRECATED_ const wchar_t* getOperationSystemVersion() const
{
return core::stringw(getOperatingSystemVersion()).c_str();
}
virtual void copyToClipboard(const c8* text) const = 0;
virtual const c8* getTextFromClipboard() const = 0;
virtual bool getProcessorSpeedMHz(u32* MHz) const = 0;
virtual bool getSystemMemory(u32* totalBytes, u32* availableBytes) const = 0;
};
} // end namespace
#endif
IReferenceCounted.h
irr::IOSOperator
The Operating system operator provides operation system specific methods and informations.
Definition IOSOperator.h:16
irr::IOSOperator::getOperatingSystemVersion
virtual const core::stringc & getOperatingSystemVersion() const =0
Get the current operation system version as string.
irr::IOSOperator::getSystemMemory
virtual bool getSystemMemory(u32 *totalBytes, u32 *availableBytes) const =0
Get the total and available system RAM.
irr::IOSOperator::getTextFromClipboard
virtual const c8 * getTextFromClipboard() const =0
Get text from the clipboard.
irr::IOSOperator::getOperationSystemVersion
_IRR_DEPRECATED_ const wchar_t * getOperationSystemVersion() const
Get the current operation system version as string.
Definition IOSOperator.h:23
irr::IOSOperator::copyToClipboard
virtual void copyToClipboard(const c8 *text) const =0
Copies text to the clipboard.
irr::IOSOperator::getProcessorSpeedMHz
virtual bool getProcessorSpeedMHz(u32 *MHz) const =0
Get the processor speed in megahertz.
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:46
irr::core::string::c_str
const T * c_str() const
Returns character string.
Definition irrString.h:495
irrString.h
_IRR_DEPRECATED_
#define _IRR_DEPRECATED_
Defines a deprecated macro which generates a warning at compile time.
Definition irrTypes.h:195
irr::core::stringc
string< c8 > stringc
Typedef for character strings.
Definition irrString.h:1358
irr::core::stringw
string< wchar_t > stringw
Typedef for wide character strings.
Definition irrString.h:1361
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
irr::c8
char c8
8 bit character variable.
Definition irrTypes.h:31
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0