ScummVM
Glk::Clipboard Class Reference

Acts as interface to and from the system's clipboard storage. More...

#include <selection.h>

Inheritance diagram for Glk::Clipboard:
Collaboration diagram for Glk::Clipboard:

Public Member Functions

void clipboardStore (const Common::U32String &text)
 Makes a copy of selected text in preparation for the user copying it to the clpboard. More...
 
void clipboardSend (ClipSource source)
 Send previously designated text to the clipboard. More...
 
void clipboardReceive (ClipSource source)
 Receive text from the clipboard, and paste it into the current window. More...
 

Private Attributes

Common::U32String _text
 

Detailed Description

Acts as interface to and from the system's clipboard storage.

Definition at line 41 of file selection.h.

Member Function Documentation

◆ clipboardReceive()

void Glk::Clipboard::clipboardReceive ( ClipSource  source)

Receive text from the clipboard, and paste it into the current window.

Definition at line 44 of file selection.cpp.

◆ clipboardSend()

void Glk::Clipboard::clipboardSend ( ClipSource  source)

Send previously designated text to the clipboard.

Definition at line 35 of file selection.cpp.

◆ clipboardStore()

void Glk::Clipboard::clipboardStore ( const Common::U32String text)

Makes a copy of selected text in preparation for the user copying it to the clpboard.

Definition at line 31 of file selection.cpp.

Member Data Documentation

◆ _text

Common::U32String Glk::Clipboard::_text
private

Definition at line 43 of file selection.h.


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