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> #include <LibGUI/Widget.h>
namespace Core {
class Timer;
}
namespace GUI { namespace GUI {
class JsonArrayModel; class JsonArrayModel;
class TableView; class TableView;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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