diff options
author | Itamar <itamar8910@gmail.com> | 2022-02-25 12:27:37 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-25 22:35:12 +0100 |
commit | d88da82e281e041c24d5c61194e7646926341610 (patch) | |
tree | a3ab109b168d5356526b2671788cbfee776495c7 /Userland/Services/SpiceAgent | |
parent | 3a71748e5d16a244c21aaf28ca3c4220c47f484e (diff) | |
download | serenity-d88da82e281e041c24d5c61194e7646926341610.zip |
Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer
This was done with CLion's automatic rename feature.
Diffstat (limited to 'Userland/Services/SpiceAgent')
-rw-r--r-- | Userland/Services/SpiceAgent/ClipboardServerConnection.h | 6 | ||||
-rw-r--r-- | Userland/Services/SpiceAgent/main.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Services/SpiceAgent/ClipboardServerConnection.h b/Userland/Services/SpiceAgent/ClipboardServerConnection.h index 3e29de5ee0..c580bb429c 100644 --- a/Userland/Services/SpiceAgent/ClipboardServerConnection.h +++ b/Userland/Services/SpiceAgent/ClipboardServerConnection.h @@ -8,12 +8,12 @@ #include <Clipboard/ClipboardClientEndpoint.h> #include <Clipboard/ClipboardServerEndpoint.h> #include <LibGfx/Bitmap.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #pragma once class ClipboardServerConnection final - : public IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint> + : public IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint> , public ClipboardClientEndpoint { IPC_CLIENT_CONNECTION(ClipboardServerConnection, "/tmp/portal/clipboard") @@ -24,7 +24,7 @@ public: private: ClipboardServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket) - : IPC::ServerConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket)) + : IPC::ConnectionToServer<ClipboardClientEndpoint, ClipboardServerEndpoint>(*this, move(socket)) { } virtual void clipboard_data_changed(String const&) override diff --git a/Userland/Services/SpiceAgent/main.cpp b/Userland/Services/SpiceAgent/main.cpp index e94fb99669..c77803ece4 100644 --- a/Userland/Services/SpiceAgent/main.cpp +++ b/Userland/Services/SpiceAgent/main.cpp @@ -7,7 +7,7 @@ #include "SpiceAgent.h" #include <LibC/fcntl.h> #include <LibCore/System.h> -#include <LibIPC/ServerConnection.h> +#include <LibIPC/ConnectionToServer.h> #include <LibMain/Main.h> static constexpr auto SPICE_DEVICE = "/dev/hvc0p1"sv; |