diff options
Diffstat (limited to 'Libraries/LibGUI/GClipboard.h')
-rw-r--r-- | Libraries/LibGUI/GClipboard.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Libraries/LibGUI/GClipboard.h b/Libraries/LibGUI/GClipboard.h index 01b3d3a03e..832ef0e334 100644 --- a/Libraries/LibGUI/GClipboard.h +++ b/Libraries/LibGUI/GClipboard.h @@ -30,11 +30,13 @@ #include <AK/Function.h> #include <AK/String.h> -class GWindowServerConnection; +namespace GUI { -class GClipboard { +class WindowServerConnection; + +class Clipboard { public: - static GClipboard& the(); + static Clipboard& the(); String data() const { return data_and_type().data; } String type() const { return data_and_type().type; } @@ -47,10 +49,12 @@ public: DataAndType data_and_type() const; - void did_receive_clipboard_contents_changed(Badge<GWindowServerConnection>, const String& data_type); + void did_receive_clipboard_contents_changed(Badge<WindowServerConnection>, const String& data_type); Function<void(const String& data_type)> on_content_change; private: - GClipboard(); + Clipboard(); }; + +} |