Pyrogenesis  trunk
Functions
osx_pasteboard.h File Reference

C++ interface to Cocoa implementation for pasteboards. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool osx_GetStringFromPasteboard (std::string &out)
 Get a string from the pasteboard. More...
 
bool osx_SendStringToPasteboard (const std::string &string)
 Store a string on the pasteboard. More...
 

Detailed Description

C++ interface to Cocoa implementation for pasteboards.

Function Documentation

bool osx_GetStringFromPasteboard ( std::string &  out)

Get a string from the pasteboard.

Parameters
[out]outpasteboard string in UTF-8 encoding, if found
Returns
true if string was found on pasteboard and successfully retrieved, false otherwise
bool osx_SendStringToPasteboard ( const std::string &  string)

Store a string on the pasteboard.

Parameters
[in]stringstring to store in UTF-8 encoding
Returns
true if string was successfully sent to pasteboard, false on error