LibGUI: Add forwarding header

This patch adds <LibGUI/Forward.h> and uses it a bunch.
It also dragged various header dependency reduction changes into it.
This commit is contained in:
Andreas Kling 2020-02-16 09:17:49 +01:00
commit 2143da6434
Notes: sideshowbarker 2024-07-19 09:16:44 +09:00
115 changed files with 220 additions and 338 deletions

View file

@ -27,16 +27,10 @@
#pragma once
#include <AK/Noncopyable.h>
#include <LibGUI/Forward.h>
class FormEditorWidget;
namespace GUI {
class KeyEvent;
class MouseEvent;
class PaintEvent;
class Painter;
}
class Tool {
AK_MAKE_NONCOPYABLE(Tool)
AK_MAKE_NONMOVABLE(Tool)