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,11 +27,9 @@
#pragma once
#include <AK/Function.h>
#include <AK/HashMap.h>
#include <AK/NonnullOwnPtrVector.h>
#include <AK/NonnullRefPtrVector.h>
#include <LibCore/ElapsedTimer.h>
#include <LibCore/Timer.h>
#include <LibGUI/ScrollableWidget.h>
#include <LibGUI/TextDocument.h>
#include <LibGUI/TextRange.h>
@ -39,12 +37,6 @@
namespace GUI {
class Action;
class Menu;
class Painter;
class ScrollBar;
class SyntaxHighlighter;
class TextEditor
: public ScrollableWidget
, public TextDocument::Client {