tbx
0.7.6
|
Convenience class to create clipboard data containing a string. More...
#include <clipboard.h>
Public Member Functions | |
ClipboardText (const std::string &text) | |
int | size () |
The size of the data in bytes. More... | |
const char * | data () |
The data to copy. More... | |
![]() | |
virtual void | copy_started () |
Called when data is about to be copied to another application from via clipboard. | |
virtual void | copy_finished () |
Called when a copy of the data has finished. | |
Convenience class to create clipboard data containing a string.
|
inlinevirtual |
The data to copy.
If the data is created on demand in a subclass, it must be created when this is called.
Implements tbx::ClipboardData.
|
inlinevirtual |
The size of the data in bytes.
If the data is created on demand in a subclass the size at least must be calculated when this is called.
Implements tbx::ClipboardData.