From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Utilities/CopyPaste.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Runtime/Utilities/CopyPaste.h (limited to 'Runtime/Utilities/CopyPaste.h') diff --git a/Runtime/Utilities/CopyPaste.h b/Runtime/Utilities/CopyPaste.h new file mode 100644 index 0000000..8c9e299 --- /dev/null +++ b/Runtime/Utilities/CopyPaste.h @@ -0,0 +1,10 @@ +#ifndef COPYPASTE_H +#define COPYPASTE_H + +/// Get the system-wide copy buffer for pasting into a textfield +std::string GetCopyBuffer (); + +/// Set the system-wide copybuffer for pasting from a textfield +void SetCopyBuffer (const std::string &utf8string); + +#endif -- cgit v1.1-26-g67d0