API Documentation
Clipboard.h
1 // Clipboard.h
3 //
5 
6 namespace nkWinUi
7 {
11  class Clipboard
12  {
13  public :
14 
15  // Destructor
19  virtual ~Clipboard () ;
20 
21  // Implementation
27  virtual void copy (nkMemory::StringView text) = 0 ;
33  virtual void copy (nkWinUi::Image* image) = 0 ;
34  } ;
35 }
nkWinUi::Image
Abstracts an image to be used within the component.
Definition: Image.h:12
nkWinUi::Clipboard
Abstracts the system clipboard.
Definition: Clipboard.h:12
nkWinUi::Clipboard::copy
virtual void copy(nkMemory::StringView text)=0
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkWinUi::Clipboard::copy
virtual void copy(nkWinUi::Image *image)=0
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkWinUi::Clipboard::~Clipboard
virtual ~Clipboard()