LibCore: Replace manual forward declarations with <LibCore/Forward.h>

This commit is contained in:
Andreas Kling 2020-02-15 00:13:44 +01:00
parent 6a3cd11a80
commit 69400c2ca1
Notes: sideshowbarker 2024-07-19 09:19:59 +09:00
8 changed files with 2 additions and 31 deletions

View file

@ -28,9 +28,6 @@
#include <LibGUI/Widget.h>
namespace Core {
class Timer;
}
namespace GUI {
class JsonArrayModel;
class TableView;

View file

@ -29,10 +29,6 @@
#include <LibGUI/TextEditor.h>
#include <LibGUI/Widget.h>
namespace Core {
class Timer;
}
class ProcessStacksWidget final : public GUI::Widget {
C_OBJECT(ProcessStacksWidget)
public:

View file

@ -28,9 +28,6 @@
#include <LibGUI/Widget.h>
namespace Core {
class Timer;
}
namespace GUI {
class Label;
}

View file

@ -32,10 +32,6 @@
#include <LibGfx/Rect.h>
#include <LibGUI/WindowType.h>
namespace Core {
class MimeData;
}
namespace GUI {
class Event : public Core::Event {

View file

@ -26,12 +26,9 @@
#pragma once
#include <LibCore/Forward.h>
#include <LibHTML/DOM/HTMLElement.h>
namespace Core {
class Timer;
}
class HTMLBlinkElement : public HTMLElement {
public:
HTMLBlinkElement(Document&, const String& tag_name);

View file

@ -31,11 +31,6 @@
#include <AK/HashMap.h>
#include <LibCore/Object.h>
namespace Core {
class LocalSocket;
class LocalServer;
}
class DNSAnswer;
class LookupServer final : public Core::Object {

View file

@ -27,12 +27,9 @@
#pragma once
#include <AK/Badge.h>
#include <LibCore/Forward.h>
#include <ProtocolServer/Download.h>
namespace Core {
class CoreHttpJob;
}
class HttpProtocol;
class HttpDownload final : public Download {

View file

@ -29,10 +29,6 @@
#include <LibCore/Object.h>
#include <LibCore/TCPSocket.h>
namespace Core {
class HttpRequest;
}
namespace WebServer {
class Client final : public Core::Object {