aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/COSOperator.h
diff options
context:
space:
mode:
authorDesour <vorunbekannt75@web.de>2022-08-23 17:19:23 +0200
committersfan5 <sfan5@live.de>2023-03-24 17:59:06 +0100
commit53b9eaa83172478f9ddffb88d946801a1c57c8f0 (patch)
treeb5df510a1ce4bbcbb17869b23fb79457966f2da2 /source/Irrlicht/COSOperator.h
parent1967d71cfba23fb54ac88cea64673f73af13bfda (diff)
downloadirrlicht-53b9eaa83172478f9ddffb88d946801a1c57c8f0.tar.xz
Implement X11 primary selection
Diffstat (limited to 'source/Irrlicht/COSOperator.h')
-rw-r--r--source/Irrlicht/COSOperator.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/Irrlicht/COSOperator.h b/source/Irrlicht/COSOperator.h
index 6ef0f9b..6510579 100644
--- a/source/Irrlicht/COSOperator.h
+++ b/source/Irrlicht/COSOperator.h
@@ -27,13 +27,17 @@ public:
const core::stringc& getOperatingSystemVersion() const override;
//! copies text to the clipboard
- //! \param text: text in utf-8
void copyToClipboard(const c8 *text) const override;
+ //! copies text to the primary selection
+ void copyToPrimarySelection(const c8 *text) const override;
+
//! gets text from the clipboard
- //! \return Returns 0 if no string is in there, otherwise an utf-8 string.
const c8* getTextFromClipboard() const override;
+ //! gets text from the primary selection
+ const c8* getTextFromPrimarySelection() const override;
+
//! gets the total and available system RAM in kB
//! \param Total: will contain the total system memory
//! \param Avail: will contain the available memory