Minsky
|
An RAII wrapper around jtanx's libclipboard (https://github.com/jtanx/libclipboard) More...
#include <clipboard.h>
Classes | |
struct | Impl |
Public Member Functions | |
Clipboard () | |
std::string | getClipboard () const |
return clipboard contents as UTF8 text More... | |
void | putClipboard (const std::string &) const |
puts UTF8 text string on clipboard More... | |
Private Attributes | |
std::shared_ptr< Impl > | pimpl |
An RAII wrapper around jtanx's libclipboard (https://github.com/jtanx/libclipboard)
Definition at line 28 of file clipboard.h.
minsky::Clipboard::Clipboard | ( | ) |
Definition at line 41 of file clipboard.cc.
std::string minsky::Clipboard::getClipboard | ( | ) | const |
return clipboard contents as UTF8 text
Definition at line 43 of file clipboard.cc.
References pimpl.
void minsky::Clipboard::putClipboard | ( | const std::string & | text | ) | const |
|
private |
Definition at line 30 of file clipboard.h.
Referenced by getClipboard(), and putClipboard().