diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-24 20:13:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-07 03:13:54 +0300 |
commit | 3f84fc198131ff706e18c56f612e38ff147b0005 (patch) | |
tree | a723a9a9163498cd880bdc23c9752d0b4e9373ca /src/utils/copynpaste.h | |
parent | 64f4e1132355eaac4f5594bee516b56adb2ad083 (diff) | |
download | manaplus-3f84fc198131ff706e18c56f612e38ff147b0005.tar.gz manaplus-3f84fc198131ff706e18c56f612e38ff147b0005.tar.bz2 manaplus-3f84fc198131ff706e18c56f612e38ff147b0005.tar.xz manaplus-3f84fc198131ff706e18c56f612e38ff147b0005.zip |
Add support for copy text to clipboard (Ctrl+C).
In X enviroments used xsel to copy string to clipboard.
In windows used native clipboard api.
MacOSX not supported.
Diffstat (limited to 'src/utils/copynpaste.h')
-rw-r--r-- | src/utils/copynpaste.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/copynpaste.h b/src/utils/copynpaste.h index d09105139..03596d5d1 100644 --- a/src/utils/copynpaste.h +++ b/src/utils/copynpaste.h @@ -31,3 +31,4 @@ */ bool retrieveBuffer(std::string& text, std::string::size_type& pos); +bool sendBuffer(std::string& text); |