mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
6820f9e14f
On the client side, use GClipboard's data() and set_data(String) to access the global clipboard. :^)
14 lines
188 B
C++
14 lines
188 B
C++
#pragma once
|
|
|
|
#include <AK/AKString.h>
|
|
|
|
class GClipboard {
|
|
public:
|
|
static GClipboard& the();
|
|
|
|
String data() const;
|
|
void set_data(const String&);
|
|
|
|
private:
|
|
GClipboard();
|
|
};
|