19#ifndef NASAL_CLIPOARD_HXX_
20#define NASAL_CLIPOARD_HXX_
22#include <simgear/nasal/nasal.h>
42 typedef std::shared_ptr<NasalClipboard>
Ptr;
46 virtual bool setText(
const std::string& text,
virtual std::string getText(Type type=CLIPBOARD)=0
static Ptr create()
Implementation supplied by actual platform implementation.
@ PRIMARY
X11 platforms support also a mode called PRIMARY selection which contains the current (mouse) selecti...
@ CLIPBOARD
Standard clipboard as supported by nearly all operating systems.
virtual ~NasalClipboard()=0
static Ptr getInstance()
Get clipboard platform specific instance.
std::shared_ptr< NasalClipboard > Ptr
virtual bool setText(const std::string &text, Type type=CLIPBOARD)=0
static void init(FGNasalSys *nasal)
Sets up the clipboard and puts all the extension functions into a new "clipboard" namespace.