summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-16 09:17:49 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-16 09:41:56 +0100
commit2143da6434d3ee0d0e33c57533387b9f0f5fce30 (patch)
tree8e17e9def4c4fe384f9a19dfc63c7d79c17908b9 /DevTools/VisualBuilder
parent2e6ab5811720a41825e2f2a22b2ec3027e361099 (diff)
downloadserenity-2143da6434d3ee0d0e33c57533387b9f0f5fce30.zip
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.
Diffstat (limited to 'DevTools/VisualBuilder')
-rw-r--r--DevTools/VisualBuilder/VBPropertiesWindow.h5
-rw-r--r--DevTools/VisualBuilder/VBProperty.h5
-rw-r--r--DevTools/VisualBuilder/VBWidget.h5
3 files changed, 1 insertions, 14 deletions
diff --git a/DevTools/VisualBuilder/VBPropertiesWindow.h b/DevTools/VisualBuilder/VBPropertiesWindow.h
index c060cbbd8f..9900bb1dcd 100644
--- a/DevTools/VisualBuilder/VBPropertiesWindow.h
+++ b/DevTools/VisualBuilder/VBPropertiesWindow.h
@@ -28,11 +28,6 @@
#include <LibGUI/Window.h>
-namespace GUI {
-class TableView;
-class TextBox;
-}
-
class VBPropertiesWindow final : public GUI::Window {
C_OBJECT(VBPropertiesWindow)
public:
diff --git a/DevTools/VisualBuilder/VBProperty.h b/DevTools/VisualBuilder/VBProperty.h
index 089908328e..1d6e44f4e0 100644
--- a/DevTools/VisualBuilder/VBProperty.h
+++ b/DevTools/VisualBuilder/VBProperty.h
@@ -28,12 +28,9 @@
#include <AK/Function.h>
#include <AK/String.h>
+#include <LibGUI/Forward.h>
#include <LibGUI/Variant.h>
-namespace GUI {
-class Widget;
-}
-
class VBWidget;
class VBProperty {
diff --git a/DevTools/VisualBuilder/VBWidget.h b/DevTools/VisualBuilder/VBWidget.h
index 08c5be2597..7039b1a3c1 100644
--- a/DevTools/VisualBuilder/VBWidget.h
+++ b/DevTools/VisualBuilder/VBWidget.h
@@ -36,11 +36,6 @@
#include <LibGfx/Rect.h>
#include <LibGUI/Widget.h>
-namespace GUI {
-class Painter;
-class Variant;
-}
-
class VBForm;
class VBProperty;
class VBWidgetPropertyModel;