]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/COSOperator.h
Add OpenGL3 renderer
[irrlicht.git] / source / Irrlicht / COSOperator.h
index e76ba01a0f7b9d69b4b49f21089aaceebc0d5781..6ef0f9ba290f12d918ba4822c70abfa7437e818f 100644 (file)
@@ -24,20 +24,21 @@ public:
        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
+       //! \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
@@ -47,6 +48,10 @@ private:
        CIrrDeviceLinux * IrrDeviceLinux;\r
 #endif\r
 \r
+#ifdef  _IRR_WINDOWS_API_\r
+       mutable core::stringc ClipboardBuf;\r
+#endif\r
+\r
 };\r
 \r
 } // end namespace\r