Orxonox
0.0.5 Codename: Arcturus
|
Some functions to exchange text between the OS clipboard and the Shell in Orxonox. More...
Go to the source code of this file.
Namespaces | |
orxonox | |
Die Wagnis Klasse hat die folgenden Aufgaben: | |
Functions | |
std::string | orxonox::fromClipboard () |
Default implementation if there is no OS-specific implementation or no clipboard. More... | |
bool | orxonox::toClipboard (const std::string &text) |
Default implementation if there is no OS-specific implementation or no clipboard. More... | |
Some functions to exchange text between the OS clipboard and the Shell in Orxonox.
Use fromClipboard() to get text from the clipboard (if there is any text) and toClipboard() to put text into the clipboard.
These functions can only work properly if there's an OS-specific implementation in Clipboard.cc. If a specific OS is not supported, the clipboard only works within Orxonox, but the exchange with other programs is not possible.