The Operating system operator provides operation system specific methods and information.
More...
#include <jimcpp/core/engine/IOSOperator.hpp>
|
virtual const core::stringc & | getOperatingSystemVersion () const =0 |
| Get the current operation system version as string.
|
|
JPP_DEPRECATED const wchar_t * | getOperationSystemVersion () const |
| Get the current operation system version as string.
|
|
virtual void | copyToClipboard (const c8 *text) const =0 |
| Copies text to the clipboard.
|
|
virtual const c8 * | getTextFromClipboard () const =0 |
| Get text from the clipboard.
|
|
virtual bool | getProcessorSpeedMHz (u32 *MHz) const =0 |
| Get the processor speed in megahertz.
|
|
virtual bool | getSystemMemory (u32 *totalBytes, u32 *availableBytes) const =0 |
| Get the total and available system RAM.
|
|
| IReferenceCounted () |
| Constructor.
|
|
virtual | ~IReferenceCounted () |
| Destructor.
|
|
void | grab () const |
| Grabs the object. Increments the reference counter by one.
|
|
bool | drop () const |
| Drops the object. Decrements the reference counter by one.
|
|
s32 | getReferenceCount () const |
| Get the reference count.
|
|
const c8 * | getDebugName () const |
| Returns the debug name of the object.
|
|
|
void | setDebugName (const c8 *newName) |
| Sets the debug name of the object.
|
|
The Operating system operator provides operation system specific methods and information.
◆ getOperationSystemVersion()
JPP_DEPRECATED const wchar_t * jpp::IOSOperator::getOperationSystemVersion |
( |
| ) |
const |
|
inline |
Get the current operation system version as string.
- Deprecated:
- Use getOperatingSystemVersion instead. This method will be removed in Jimcpp 1.9.
◆ getProcessorSpeedMHz()
virtual bool jpp::IOSOperator::getProcessorSpeedMHz |
( |
u32 * |
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()
virtual bool jpp::IOSOperator::getSystemMemory |
( |
u32 * |
totalBytes, |
|
|
u32 * |
availableBytes |
|
) |
| const |
|
pure virtual |
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 c8 * jpp::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: