FlightGear next
|
Windows does only support on clipboard and no selection. More...
Inherits NasalClipboard.
Public Member Functions | |
virtual std::string | getText (Type type) |
Get clipboard contents as text. | |
virtual bool | setText (const std::string &text, Type type) |
Set clipboard contents as text. | |
![]() | |
virtual void | update () |
Protected Attributes | |
std::string | _selection |
Additional Inherited Members | |
![]() | |
enum | Type { CLIPBOARD , PRIMARY } |
typedef std::shared_ptr< NasalClipboard > | Ptr |
![]() | |
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. | |
![]() | |
virtual | ~NasalClipboard ()=0 |
![]() | |
static Ptr | create () |
Implementation supplied by actual platform implementation. | |
![]() | |
static Ptr | _clipboard |
Windows does only support on clipboard and no selection.
We fake also the X11 selection buffer - at least inside FlightGear
Definition at line 28 of file ClipboardWindows.cxx.
|
inlinevirtual |
Get clipboard contents as text.
Implements NasalClipboard.
Definition at line 36 of file ClipboardWindows.cxx.
|
inlinevirtual |
Set clipboard contents as text.
Implements NasalClipboard.
Definition at line 61 of file ClipboardWindows.cxx.
|
protected |
Definition at line 101 of file ClipboardWindows.cxx.