mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibCore: Replace manual forward declarations with <LibCore/Forward.h>
This commit is contained in:
parent
6a3cd11a80
commit
69400c2ca1
Notes:
sideshowbarker
2024-07-19 09:19:59 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/69400c2ca14
8 changed files with 2 additions and 31 deletions
|
@ -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;
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
|
|
||||||
#include <LibGUI/Widget.h>
|
#include <LibGUI/Widget.h>
|
||||||
|
|
||||||
namespace Core {
|
|
||||||
class Timer;
|
|
||||||
}
|
|
||||||
namespace GUI {
|
namespace GUI {
|
||||||
class Label;
|
class Label;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue