mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibGUI: Add Clipboard::clear()
Does exactly what it says on the tin :^)
This commit is contained in:
parent
e81d35995e
commit
f15f03376b
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,7 @@ public:
|
|||
ByteBuffer data() const { return data_and_type().data; }
|
||||
String mime_type() const { return data_and_type().mime_type; }
|
||||
void set_data(ReadonlyBytes, const String& mime_type = "text/plain", const HashMap<String, String>& metadata = {});
|
||||
void clear();
|
||||
|
||||
void set_plain_text(const String& text)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue