mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +00:00
Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer
This was done with CLion's automatic rename feature.
This commit is contained in:
parent
3a71748e5d
commit
d88da82e28
26 changed files with 53 additions and 53 deletions
|
@ -9,18 +9,18 @@
|
|||
#include <Clipboard/ClipboardServerEndpoint.h>
|
||||
#include <LibGUI/Clipboard.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibIPC/ServerConnection.h>
|
||||
#include <LibIPC/ConnectionToServer.h>
|
||||
|
||||
namespace GUI {
|
||||
|
||||
class ClipboardServerConnection final
|
||||
: public IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>
|
||||
: public IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint>
|
||||
, public ClipboardClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(ClipboardServerConnection, "/tmp/portal/clipboard")
|
||||
|
||||
private:
|
||||
ClipboardServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
|
||||
: IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket))
|
||||
: IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
*/
|
||||
|
||||
#include <LibGUI/Notification.h>
|
||||
#include <LibIPC/ServerConnection.h>
|
||||
#include <LibIPC/ConnectionToServer.h>
|
||||
#include <NotificationServer/NotificationClientEndpoint.h>
|
||||
#include <NotificationServer/NotificationServerEndpoint.h>
|
||||
|
||||
namespace GUI {
|
||||
|
||||
class NotificationServerConnection final
|
||||
: public IPC::ServerConnection<NotificationClientEndpoint, NotificationServerEndpoint>
|
||||
: public IPC::ConnectionToServer<NotificationClientEndpoint, NotificationServerEndpoint>
|
||||
, public NotificationClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(NotificationServerConnection, "/tmp/portal/notify")
|
||||
|
||||
|
@ -26,7 +26,7 @@ public:
|
|||
|
||||
private:
|
||||
explicit NotificationServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket, Notification* notification)
|
||||
: IPC::ServerConnection<NotificationClientEndpoint, NotificationServerEndpoint>(*this, move(socket))
|
||||
: IPC::ConnectionToServer<NotificationClientEndpoint, NotificationServerEndpoint>(*this, move(socket))
|
||||
, m_notification(notification)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibIPC/ServerConnection.h>
|
||||
#include <LibIPC/ConnectionToServer.h>
|
||||
#include <WindowServer/ScreenLayout.h>
|
||||
#include <WindowServer/WindowManagerClientEndpoint.h>
|
||||
#include <WindowServer/WindowManagerServerEndpoint.h>
|
||||
|
@ -14,7 +14,7 @@
|
|||
namespace GUI {
|
||||
|
||||
class WindowManagerServerConnection final
|
||||
: public IPC::ServerConnection<WindowManagerClientEndpoint, WindowManagerServerEndpoint>
|
||||
: public IPC::ConnectionToServer<WindowManagerClientEndpoint, WindowManagerServerEndpoint>
|
||||
, public WindowManagerClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(WindowManagerServerConnection, "/tmp/portal/wm")
|
||||
|
||||
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
private:
|
||||
WindowManagerServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
|
||||
: IPC::ServerConnection<WindowManagerClientEndpoint, WindowManagerServerEndpoint>(*this, move(socket))
|
||||
: IPC::ConnectionToServer<WindowManagerClientEndpoint, WindowManagerServerEndpoint>(*this, move(socket))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ static void set_system_theme_from_anonymous_buffer(Core::AnonymousBuffer buffer)
|
|||
}
|
||||
|
||||
WindowServerConnection::WindowServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
|
||||
: IPC::ServerConnection<WindowClientEndpoint, WindowServerEndpoint>(*this, move(socket))
|
||||
: IPC::ConnectionToServer<WindowClientEndpoint, WindowServerEndpoint>(*this, move(socket))
|
||||
{
|
||||
// NOTE: WindowServer automatically sends a "fast_greet" message to us when we connect.
|
||||
// All we have to do is wait for it to arrive. This avoids a round-trip during application startup.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibIPC/ServerConnection.h>
|
||||
#include <LibIPC/ConnectionToServer.h>
|
||||
#include <WindowServer/ScreenLayout.h>
|
||||
#include <WindowServer/WindowClientEndpoint.h>
|
||||
#include <WindowServer/WindowServerEndpoint.h>
|
||||
|
@ -14,7 +14,7 @@
|
|||
namespace GUI {
|
||||
|
||||
class WindowServerConnection final
|
||||
: public IPC::ServerConnection<WindowClientEndpoint, WindowServerEndpoint>
|
||||
: public IPC::ConnectionToServer<WindowClientEndpoint, WindowServerEndpoint>
|
||||
, public WindowClientEndpoint {
|
||||
IPC_CLIENT_CONNECTION(WindowServerConnection, "/tmp/portal/window")
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue