Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IOSOperator.hpp
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in duckcpp/duckcpp.hpp
4
5#ifndef DCPP_I_OS_OPERATOR_HPP_INCLUDED
6#define DCPP_I_OS_OPERATOR_HPP_INCLUDED
7
8#include <duckcpp/core/engine/IReferenceCounted.hpp>
9#include <duckcpp/core/engine/irrString.hpp>
10
11namespace dcpp
12{
13
15class IOSOperator : public virtual IReferenceCounted
16{
17public:
19 virtual const dcpp::nub::string& getOperatingSystemVersion() const = 0;
20
22
23 DCPP_DEPRECATED const wchar_t* getOperationSystemVersion() const
24 {
26 }
27
29 virtual void copyToClipboard(const dcpp::char_kt* text) const = 0;
30
32
33 virtual const dcpp::char_kt* getTextFromClipboard() const = 0;
34
36
38 virtual bool getProcessorSpeedMHz(dcpp::uint32_kt* MHz) const = 0;
39
41
44 virtual bool getSystemMemory(dcpp::uint32_kt* totalBytes, dcpp::uint32_kt* availableBytes) const = 0;
45
46};
47
48} // end namespace
49
50#endif
The Operating system operator provides operation system specific methods and information.
Definition IOSOperator.hpp:16
DCPP_DEPRECATED const wchar_t * getOperationSystemVersion() const
Get the current operation system version as string.
Definition IOSOperator.hpp:23
virtual void copyToClipboard(const dcpp::char_kt *text) const =0
Copies text to the clipboard.
virtual const dcpp::char_kt * getTextFromClipboard() const =0
Get text from the clipboard.
virtual const dcpp::nub::string & getOperatingSystemVersion() const =0
Get the current operation system version as string.
virtual bool getProcessorSpeedMHz(dcpp::uint32_kt *MHz) const =0
Get the processor speed in megahertz.
virtual bool getSystemMemory(dcpp::uint32_kt *totalBytes, dcpp::uint32_kt *availableBytes) const =0
Get the total and available system RAM.
Base class of most objects of the Duckcpp Engine.
Definition IReferenceCounted.hpp:46
const T * data() const
Returns character string.
Definition irrString.hpp:537
dcpp::nub::basic_string< wchar_t > wstring
using type alias for wide character strings. Forward declaration.
Definition irrString.hpp:41
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition shared_device.hpp:34
char char_kt
8 bit character variable.
Definition irrTypes.hpp:37
unsigned int uint32_kt
32 bit unsigned variable.
Definition irrTypes.hpp:64

Duckcpp    @cppfx.xyz