aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/COSOperator.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/COSOperator.h')
-rw-r--r--source/Irrlicht/COSOperator.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/Irrlicht/COSOperator.h b/source/Irrlicht/COSOperator.h
index 6510579..941dacc 100644
--- a/source/Irrlicht/COSOperator.h
+++ b/source/Irrlicht/COSOperator.h
@@ -23,6 +23,11 @@ public:
#endif
COSOperator(const core::stringc& osversion);
+ ~COSOperator();
+
+ COSOperator(const COSOperator &) = delete;
+ COSOperator &operator=(const COSOperator &) = delete;
+
//! returns the current operation system version as string.
const core::stringc& getOperatingSystemVersion() const override;
@@ -56,6 +61,12 @@ private:
mutable core::stringc ClipboardBuf;
#endif
+#ifdef _IRR_COMPILE_WITH_SDL_DEVICE_
+ // These need to be freed with SDL_free
+ mutable char *ClipboardSelectionText = nullptr;
+ mutable char *PrimarySelectionText = nullptr;
+#endif
+
};
} // end namespace