1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +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:
Robin Burchell 2019-07-17 19:46:06 +02:00 committed by Andreas Kling
parent 2177594c96
commit 9c8dd836fc
12 changed files with 71 additions and 59 deletions

View file

@ -5,7 +5,7 @@
#include <AK/OwnPtr.h>
#include <AK/WeakPtr.h>
#include <LibCore/CObject.h>
#include <LibCore/CIPCServerSideClient.h>
#include <LibCore/CoreIPCServer.h>
#include <SharedGraphics/GraphicsBitmap.h>
#include <WindowServer/WSEvent.h>
@ -13,7 +13,7 @@ class WSWindow;
class WSMenu;
class WSMenuBar;
class WSClientConnection final : public CIPCServerSideClient<WSAPI_ServerMessage, WSAPI_ClientMessage> {
class WSClientConnection final : public IPC::Server::Connection<WSAPI_ServerMessage, WSAPI_ClientMessage> {
public:
explicit WSClientConnection(int fd, int client_id);
~WSClientConnection() override;