API Documentation
Public Member Functions | List of all members
nkWinUi::Clipboard Class Referenceabstract

Abstracts the system clipboard. More...

Public Member Functions

virtual ~Clipboard ()
 
virtual void copy (nkMemory::StringView text)=0
 
virtual void copy (nkWinUi::Image *image)=0
 

Detailed Description

Abstracts the system clipboard.

Constructor & Destructor Documentation

◆ ~Clipboard()

virtual nkWinUi::Clipboard::~Clipboard ( )
virtual

Destructor.

Member Function Documentation

◆ copy() [1/2]

virtual void nkWinUi::Clipboard::copy ( nkMemory::StringView  text)
pure virtual

Copies text into the clipboard.

Parameters
textThe text to copy into the clipboard.

◆ copy() [2/2]

virtual void nkWinUi::Clipboard::copy ( nkWinUi::Image image)
pure virtual

Copies an image into the clipboard.

Parameters
imageThe image to copy into the clipboard.

The documentation for this class was generated from the following file: