|
FlightGear next
|
Provide a basic clipboard whose contents are only available to FlightGear itself. 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. | |
Public Member Functions inherited from NasalClipboard | |
| virtual void | update () |
Protected Attributes | |
| std::string | _clipboard |
| std::string | _selection |
Additional Inherited Members | |
Public Types inherited from NasalClipboard | |
| enum | Type { CLIPBOARD , PRIMARY } |
| typedef std::shared_ptr< NasalClipboard > | Ptr |
Static Public Member Functions inherited from NasalClipboard | |
| 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. | |
Protected Member Functions inherited from NasalClipboard | |
| virtual | ~NasalClipboard ()=0 |
Static Protected Member Functions inherited from NasalClipboard | |
| static Ptr | create () |
| Implementation supplied by actual platform implementation. | |
Static Protected Attributes inherited from NasalClipboard | |
| static Ptr | _clipboard |
Provide a basic clipboard whose contents are only available to FlightGear itself.
Definition at line 29 of file ClipboardFallback.cxx.
|
inlinevirtual |
Get clipboard contents as text.
Implements NasalClipboard.
Definition at line 37 of file ClipboardFallback.cxx.
|
inlinevirtual |
Set clipboard contents as text.
Implements NasalClipboard.
Definition at line 45 of file ClipboardFallback.cxx.
|
protected |
Definition at line 56 of file ClipboardFallback.cxx.
|
protected |
Definition at line 57 of file ClipboardFallback.cxx.