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:
Andreas Kling 2020-02-15 00:32:33 +01:00
parent 66903ad987
commit 2a41bff329
Notes: sideshowbarker 2024-07-19 09:19:51 +09:00
8 changed files with 2 additions and 16 deletions

View file

@ -33,8 +33,6 @@
namespace Core {
class TCPSocket;
class HttpJob final : public NetworkJob {
C_OBJECT(HttpJob)
public:

View file

@ -29,11 +29,11 @@
#include <AK/Optional.h>
#include <AK/String.h>
#include <AK/URL.h>
#include <AK/Vector.h>
#include <LibCore/Forward.h>
namespace Core {
class NetworkJob;
class HttpRequest {
public:
enum Method {

View file

@ -31,8 +31,6 @@
namespace Core {
class LocalSocket;
class LocalServer : public Object {
C_OBJECT(LocalServer)
public:

View file

@ -30,8 +30,6 @@
namespace Core {
class LocalServer;
class LocalSocket final : public Socket {
C_OBJECT(LocalSocket)
public:

View file

@ -31,8 +31,6 @@
namespace Core {
class NetworkResponse;
class NetworkJob : public Object {
C_OBJECT_ABSTRACT(NetworkJob)
public:

View file

@ -32,8 +32,6 @@
namespace Core {
class Notifier;
class Socket : public IODevice {
C_OBJECT(Socket)
public:

View file

@ -32,8 +32,6 @@
namespace Core {
class TCPSocket;
class TCPServer : public Object {
C_OBJECT(TCPServer)
public:

View file

@ -31,8 +31,6 @@
namespace Core {
class TCPServer;
class TCPSocket final : public Socket {
C_OBJECT(TCPSocket)
public: