Mana
|
#include <string>
Go to the source code of this file.
Functions | |
bool | insertFromClipboard (std::string &text, std::string::size_type &pos) |
Attempts to retrieve text from the clipboard buffer and inserts it in text at position \pos. | |
bool insertFromClipboard | ( | std::string & | text, |
std::string::size_type & | pos | ||
) |
Attempts to retrieve text from the clipboard buffer and inserts it in text at position \pos.
The characters are encoded in utf-8.
true
when successful or false
when there was a problem retrieving the clipboard buffer. Definition at line 25 of file copynpaste.cpp.