Represents the system clipboard data.
More...
#include <clipboard_data.hpp>
|
virtual std::shared_ptr< ClipboardDataType > | type () const =0 |
| Returns the type of the clipboard data.
|
|
virtual size_t | size () const =0 |
| Returns the size of the clipboard data.
|
|
virtual const char * | data () const =0 |
| Returns the clipboard data.
|
|
Represents the system clipboard data.
◆ create() [1/2]
static std::shared_ptr< ClipboardData > molybden::ClipboardData::create |
( |
std::shared_ptr< ClipboardDataType > |
type, |
|
|
const char * |
data, |
|
|
size_t |
length |
|
) |
| |
|
static |
Creates a new clipboard data with the given type and data.
- Parameters
-
type | the type of the clipboard data |
data | the clipboard data |
length | the length of the clipboard data |
◆ create() [2/2]
Creates a new clipboard data with the given type and data.
- Parameters
-
type | the type of the clipboard data |
data | the clipboard data |
The documentation for this class was generated from the following file: