#include "UtilPrereqs.h"
#include <string>
Namespaces | |
namespace | orxonox |
Functions | |
std::string | orxonox::fromClipboard () |
Default implementation if there is no OS-specific implementation or no clipboard. Gets the text from the internal clipboard. | |
bool | orxonox::toClipboard (const std::string &text) |
Default implementation if there is no OS-specific implementation or no clipboard. Copies the text into an internal clipboard. |
Use fromClipboard() to get text from the clipboard (if there is any text) and toClipboard(text) to put text into the clipboard.
Those functions can only work properly if there's an OS-specific implementation. If an OS isn't supported, the clipboard only works within Orxonox, but exchange with other programs isn't possible.