1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:57:43 +00:00

LibGUI: Put all classes in the GUI namespace and remove the leading G

This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
Andreas Kling 2020-02-02 15:07:41 +01:00
parent 2d39da5405
commit c5bd9d4ed1
337 changed files with 5400 additions and 4816 deletions

View file

@ -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();
};
}