COSOperator(const core::stringc& osversion);\r
\r
//! returns the current operation system version as string.\r
- virtual const core::stringc& getOperatingSystemVersion() const _IRR_OVERRIDE_;\r
+ const core::stringc& getOperatingSystemVersion() const override;\r
\r
//! copies text to the clipboard\r
- virtual void copyToClipboard(const c8* text) const _IRR_OVERRIDE_;\r
+ //! \param text: text in utf-8\r
+ void copyToClipboard(const c8 *text) const override;\r
\r
//! gets text from the clipboard\r
- //! \return Returns 0 if no string is in there.\r
- virtual const c8* getTextFromClipboard() const _IRR_OVERRIDE_;\r
-\r
- //! gets the processor speed in megahertz\r
- //! \param Mhz:\r
- //! \return Returns true if successful, false if not\r
- virtual bool getProcessorSpeedMHz(u32* MHz) const _IRR_OVERRIDE_;\r
+ //! \return Returns 0 if no string is in there, otherwise an utf-8 string.\r
+ const c8* getTextFromClipboard() const override;\r
\r
//! gets the total and available system RAM in kB\r
//! \param Total: will contain the total system memory\r
//! \param Avail: will contain the available memory\r
//! \return Returns true if successful, false if not\r
- virtual bool getSystemMemory(u32* Total, u32* Avail) const _IRR_OVERRIDE_;\r
+ bool getSystemMemory(u32* Total, u32* Avail) const override;\r
\r
private:\r
\r
CIrrDeviceLinux * IrrDeviceLinux;\r
#endif\r
\r
+#ifdef _IRR_WINDOWS_API_\r
+ mutable core::stringc ClipboardBuf;\r
+#endif\r
+\r
};\r
\r
} // end namespace\r