1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:17:34 +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

@ -49,7 +49,7 @@ void ASClientConnection::for_each(Function<void(ASClientConnection&)> callback)
}
ASClientConnection::ASClientConnection(Core::LocalSocket& client_socket, int client_id, ASMixer& mixer)
: IClientConnection(*this, client_socket, client_id)
: IPC::ClientConnection<AudioServerEndpoint>(*this, client_socket, client_id)
, m_mixer(mixer)
{
s_connections.set(client_id, *this);

View file

@ -33,7 +33,7 @@ class ABuffer;
class ASBufferQueue;
class ASMixer;
class ASClientConnection final : public IClientConnection<AudioServerEndpoint>
class ASClientConnection final : public IPC::ClientConnection<AudioServerEndpoint>
, public AudioServerEndpoint {
C_OBJECT(ASClientConnection)
public:

View file

@ -43,6 +43,6 @@ ASEventLoop::ASEventLoop()
}
static int s_next_client_id = 0;
int client_id = ++s_next_client_id;
new_client_connection<ASClientConnection>(*client_socket, client_id, m_mixer);
IPC::new_client_connection<ASClientConnection>(*client_socket, client_id, m_mixer);
};
}