diff options
author | numzero <numzer0@yandex.ru> | 2023-03-25 10:42:11 +0300 |
---|---|---|
committer | numzero <numzer0@yandex.ru> | 2023-03-25 10:42:47 +0300 |
commit | d97d1708d68a98c039db8a06c4110bfc961d3fb1 (patch) | |
tree | 1a90cd7a34793982aa9376468feb41e67d2b7cdc /include/IOSOperator.h | |
parent | ba77d01c91a363ad932ecd26c3eaba82ddf7a6f0 (diff) | |
parent | 799c8b936f9a2cc4f3a8bc56237fb9a8dedf853e (diff) | |
download | irrlicht-d97d1708d68a98c039db8a06c4110bfc961d3fb1.tar.xz |
Resolve conflicts with master
Diffstat (limited to 'include/IOSOperator.h')
-rw-r--r-- | include/IOSOperator.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/IOSOperator.h b/include/IOSOperator.h index b195aed..6e5768a 100644 --- a/include/IOSOperator.h +++ b/include/IOSOperator.h @@ -26,12 +26,23 @@ public: }
//! Copies text to the clipboard
+ //! \param text: text in utf-8
virtual void copyToClipboard(const c8* text) const = 0;
+ //! Copies text to the primary selection
+ //! This is a no-op on some platforms.
+ //! \param text: text in utf-8
+ virtual void copyToPrimarySelection(const c8* text) const = 0;
+
//! Get text from the clipboard
- /** \return Returns 0 if no string is in there. */
+ //! \return Returns 0 if no string is in there, otherwise an utf-8 string.
virtual const c8* getTextFromClipboard() const = 0;
+ //! Get text from the primary selection
+ //! This is a no-op on some platforms.
+ //! \return Returns 0 if no string is in there, otherwise an utf-8 string.
+ virtual const c8* getTextFromPrimarySelection() const = 0;
+
//! Get the total and available system RAM
/** \param totalBytes: will contain the total system memory in Kilobytes (1024 B)
\param availableBytes: will contain the available memory in Kilobytes (1024 B)
|