1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +00:00

LibCore: Move GIODevice hierarchy from LibGUI to LibCore.

This commit is contained in:
Andreas Kling 2019-04-10 20:22:23 +02:00
parent fc1d3074de
commit cfd6e6cc36
19 changed files with 112 additions and 112 deletions

View file

@ -1,6 +1,6 @@
#include <LibGUI/GHttpJob.h>
#include <LibGUI/GHttpResponse.h>
#include <LibGUI/GTCPSocket.h>
#include <LibCore/CTCPSocket.h>
#include <stdio.h>
#include <unistd.h>
@ -98,7 +98,7 @@ void GHttpJob::on_socket_connected()
void GHttpJob::start()
{
ASSERT(!m_socket);
m_socket = new GTCPSocket(this);
m_socket = new CTCPSocket(this);
m_socket->on_connected = [this] {
printf("Socket on_connected callback\n");
on_socket_connected();