The Operating system operator provides operation system specific methods and information.
More...
#include <duckcpp/core/engine/IOSOperator.hpp>
The Operating system operator provides operation system specific methods and information.
◆ getOperationSystemVersion()
DCPP_DEPRECATED const wchar_t * dcpp::IOSOperator::getOperationSystemVersion |
( |
| ) |
const |
|
inline |
Get the current operation system version as string.
- Deprecated:
- Use getOperatingSystemVersion instead. This method will be removed in Duckcpp 1.9.
◆ getProcessorSpeedMHz()
virtual bool dcpp::IOSOperator::getProcessorSpeedMHz |
( |
dcpp::uint32_kt * |
MHz | ) |
const |
|
pure virtual |
Get the processor speed in megahertz.
- Parameters
-
MHz | The integer variable to store the speed in. |
- Returns
- True if successful, false if not
◆ getSystemMemory()
Get the total and available system RAM.
- Parameters
-
totalBytes | will contain the total system memory in Kilobytes (1024 B) |
availableBytes | will contain the available memory in Kilobytes (1024 B) |
- Returns
- True if successful, false if not
◆ getTextFromClipboard()
virtual const dcpp::char_kt * dcpp::IOSOperator::getTextFromClipboard |
( |
| ) |
const |
|
pure virtual |
Get text from the clipboard.
- Returns
- Returns 0 if no string is in there.
The documentation for this class was generated from the following file: