mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 04:17:34 +00:00
Rename new IPC headers & classes
Sticking these in a namespace allows us to use a more generic ("Connection") term without clashing, which is way easier to understand than to try to come up with unique names for both.
This commit is contained in:
parent
2177594c96
commit
9c8dd836fc
12 changed files with 71 additions and 59 deletions
|
@ -40,7 +40,7 @@ WSClientConnection* WSClientConnection::from_client_id(int client_id)
|
|||
}
|
||||
|
||||
WSClientConnection::WSClientConnection(int fd, int client_id)
|
||||
: CIPCServerSideClient(fd, client_id)
|
||||
: Connection(fd, client_id)
|
||||
{
|
||||
if (!s_connections)
|
||||
s_connections = new HashMap<int, WSClientConnection*>;
|
||||
|
@ -88,7 +88,7 @@ void WSClientConnection::event(CEvent& event)
|
|||
return;
|
||||
}
|
||||
|
||||
CIPCServerSideClient::event(event);
|
||||
Connection::event(event);
|
||||
}
|
||||
|
||||
static Vector<Rect, 32> get_rects(const WSAPI_ClientMessage& message, const ByteBuffer& extra_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue