1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

LibIPC: Put all classes in the IPC namespace and remove the leading I

This commit is contained in:
Andreas Kling 2020-02-05 19:57:18 +01:00
parent a894a799c3
commit d264e8fcc5
22 changed files with 108 additions and 80 deletions

View file

@ -33,7 +33,7 @@
static HashMap<int, RefPtr<PSClientConnection>> s_connections;
PSClientConnection::PSClientConnection(Core::LocalSocket& socket, int client_id)
: IClientConnection(*this, socket, client_id)
: IPC::ClientConnection<ProtocolServerEndpoint>(*this, socket, client_id)
{
s_connections.set(client_id, *this);
}

View file

@ -36,7 +36,7 @@ class SharedBuffer;
class Download;
class PSClientConnection final : public IClientConnection<ProtocolServerEndpoint>
class PSClientConnection final : public IPC::ClientConnection<ProtocolServerEndpoint>
, public ProtocolServerEndpoint {
C_OBJECT(PSClientConnection)
public:

View file

@ -54,7 +54,7 @@ int main(int, char**)
}
static int s_next_client_id = 0;
int client_id = ++s_next_client_id;
new_client_connection<PSClientConnection>(*client_socket, client_id);
IPC::new_client_connection<PSClientConnection>(*client_socket, client_id);
};
return event_loop.exec();
}