mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibCore: Remove a bunch of unnecessary forward declarations
Now that we get LibCore forward declarations from <LibCore/Forward.h>, we don't need to declare things manually.
This commit is contained in:
parent
66903ad987
commit
2a41bff329
Notes:
sideshowbarker
2024-07-19 09:19:51 +09:00
Author: https://github.com/awesomekling
Commit: 2a41bff329
8 changed files with 2 additions and 16 deletions
|
@ -33,8 +33,6 @@
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class TCPSocket;
|
|
||||||
|
|
||||||
class HttpJob final : public NetworkJob {
|
class HttpJob final : public NetworkJob {
|
||||||
C_OBJECT(HttpJob)
|
C_OBJECT(HttpJob)
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -29,11 +29,11 @@
|
||||||
#include <AK/Optional.h>
|
#include <AK/Optional.h>
|
||||||
#include <AK/String.h>
|
#include <AK/String.h>
|
||||||
#include <AK/URL.h>
|
#include <AK/URL.h>
|
||||||
|
#include <AK/Vector.h>
|
||||||
|
#include <LibCore/Forward.h>
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class NetworkJob;
|
|
||||||
|
|
||||||
class HttpRequest {
|
class HttpRequest {
|
||||||
public:
|
public:
|
||||||
enum Method {
|
enum Method {
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class LocalSocket;
|
|
||||||
|
|
||||||
class LocalServer : public Object {
|
class LocalServer : public Object {
|
||||||
C_OBJECT(LocalServer)
|
C_OBJECT(LocalServer)
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class LocalServer;
|
|
||||||
|
|
||||||
class LocalSocket final : public Socket {
|
class LocalSocket final : public Socket {
|
||||||
C_OBJECT(LocalSocket)
|
C_OBJECT(LocalSocket)
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class NetworkResponse;
|
|
||||||
|
|
||||||
class NetworkJob : public Object {
|
class NetworkJob : public Object {
|
||||||
C_OBJECT_ABSTRACT(NetworkJob)
|
C_OBJECT_ABSTRACT(NetworkJob)
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class Notifier;
|
|
||||||
|
|
||||||
class Socket : public IODevice {
|
class Socket : public IODevice {
|
||||||
C_OBJECT(Socket)
|
C_OBJECT(Socket)
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class TCPSocket;
|
|
||||||
|
|
||||||
class TCPServer : public Object {
|
class TCPServer : public Object {
|
||||||
C_OBJECT(TCPServer)
|
C_OBJECT(TCPServer)
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
class TCPServer;
|
|
||||||
|
|
||||||
class TCPSocket final : public Socket {
|
class TCPSocket final : public Socket {
|
||||||
C_OBJECT(TCPSocket)
|
C_OBJECT(TCPSocket)
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue