| Irrlicht 3D Engine |

IOSOperator.h
Go to the documentation of this file.

    00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004
    00005 #ifndef __I_OS_OPERATOR_H_INCLUDED__
    00006 #define __I_OS_OPERATOR_H_INCLUDED__
    00007
    00008 #include "IReferenceCounted.h"
    00009 #include "irrString.h"
    00010
    00011 namespace irr
    00012 {
    00013
    00015 class IOSOperator : public virtual IReferenceCounted
    00016 {
    00017 public:
    00019     virtual const core::stringc& getOperatingSystemVersion() const = 0;
    00020
    00022
    00023     _IRR_DEPRECATED_ const wchar_t* getOperationSystemVersion() const
    00024     {
    00025         return core::stringw(getOperatingSystemVersion()).c_str();
    00026     }
    00027
    00029     virtual void copyToClipboard(const c8* text) const = 0;
    00030
    00032
    00033     virtual const c8* getTextFromClipboard() const = 0;
    00034
    00036
    00038     virtual bool getProcessorSpeedMHz(u32* MHz) const = 0;
    00039
    00041
    00044     virtual bool getSystemMemory(u32* totalBytes, u32* availableBytes) const = 0;
    00045
    00046 };
    00047
    00048 } // end namespace
    00049
    00050 #endif