diff options
Diffstat (limited to 'Libraries/LibCore/CTCPSocket.h')
-rw-r--r-- | Libraries/LibCore/CTCPSocket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Libraries/LibCore/CTCPSocket.h b/Libraries/LibCore/CTCPSocket.h index d7e72fb824..7eccc7a6b7 100644 --- a/Libraries/LibCore/CTCPSocket.h +++ b/Libraries/LibCore/CTCPSocket.h @@ -1,8 +1,14 @@ +#pragma once + +#include <AK/Badge.h> #include <LibCore/CSocket.h> +class CTCPServer; + class CTCPSocket final : public CSocket { C_OBJECT(CTCPSocket) public: explicit CTCPSocket(CObject* parent = nullptr); + CTCPSocket(Badge<CTCPServer>, int fd, CObject* parent = nullptr); virtual ~CTCPSocket() override; }; |