#include <NasalClipboard.hxx>
Inherited by ClipboardFallback, ClipboardWindows, and ClipboardX11.
|
static void | init (FGNasalSys *nasal) |
| Sets up the clipboard and puts all the extension functions into a new "clipboard" namespace.
|
|
static Ptr | getInstance () |
| Get clipboard platform specific instance.
|
|
|
static Ptr | create () |
| Implementation supplied by actual platform implementation.
|
|
Definition at line 27 of file NasalClipboard.hxx.
◆ Ptr
◆ Type
Enumerator |
---|
CLIPBOARD | Standard clipboard as supported by nearly all operating systems.
|
PRIMARY | X11 platforms support also a mode called PRIMARY selection which contains the current (mouse) selection and can typically be inserted via a press on the middle mouse button.
|
Definition at line 31 of file NasalClipboard.hxx.
◆ ~NasalClipboard()
NasalClipboard::~NasalClipboard |
( |
| ) |
|
|
protectedpure virtual |
◆ create()
◆ getInstance()
◆ getText()
virtual std::string NasalClipboard::getText |
( |
Type | type = CLIPBOARD | ) |
|
|
pure virtual |
◆ init()
Sets up the clipboard and puts all the extension functions into a new "clipboard" namespace.
Definition at line 90 of file NasalClipboard.cxx.
◆ setText()
virtual bool NasalClipboard::setText |
( |
const std::string & | text, |
|
|
Type | type = CLIPBOARD ) |
|
pure virtual |
◆ update()
virtual void NasalClipboard::update |
( |
| ) |
|
|
inlinevirtual |
◆ _clipboard
The documentation for this class was generated from the following files: