Ultralight C++ API 1.3.0
|
#include <Ultralight/platform/Clipboard.h>
User-defined clipboard interface.
The library uses this to read and write data to the system's clipboard.
AppCore automatically provides a platform-specific implementation of this that cuts, copies, and pastes to the OS clipboard when you call App::Create().
If you are using Renderer::Create() instead of App::Create(), you will need to provide your own implementation of this.
Public Member Functions | |
virtual | ~Clipboard () |
virtual void | Clear ()=0 |
Clear the clipboard. | |
virtual String | ReadPlainText ()=0 |
Read plain text from the clipboard. | |
virtual void | WritePlainText (const String &text)=0 |
Write plain text to the clipboard. | |
|
virtual |
|
pure virtual |
Clear the clipboard.
|
pure virtual |
Read plain text from the clipboard.
This is called when the library wants to read text from the OS clipboard.
|
pure virtual |
Write plain text to the clipboard.
This is called when the library wants to write text to the OS clipboard.