mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:32:43 +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
				
			
		|  | @ -262,7 +262,7 @@ void ServerConnectionWrapper::try_respawn_connection() | |||
|     if (!m_respawn_allowed) | ||||
|         return; | ||||
| 
 | ||||
|     dbgln("Respawning ServerConnection"); | ||||
|     dbgln("Respawning ConnectionToServer"); | ||||
|     create_connection(); | ||||
| 
 | ||||
|     // After respawning the language-server, we have to send the content of open project files
 | ||||
|  |  | |||
|  | @ -15,7 +15,7 @@ | |||
| #include <AK/Weakable.h> | ||||
| #include <LibCore/ElapsedTimer.h> | ||||
| #include <LibCpp/Preprocessor.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| 
 | ||||
| #include <DevTools/HackStudio/LanguageServers/LanguageClientEndpoint.h> | ||||
| #include <DevTools/HackStudio/LanguageServers/LanguageServerEndpoint.h> | ||||
|  | @ -26,13 +26,13 @@ class LanguageClient; | |||
| class ServerConnectionWrapper; | ||||
| 
 | ||||
| class ServerConnection | ||||
|     : public IPC::ServerConnection<LanguageClientEndpoint, LanguageServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<LanguageClientEndpoint, LanguageServerEndpoint> | ||||
|     , public LanguageClientEndpoint { | ||||
|     friend class ServerConnectionWrapper; | ||||
| 
 | ||||
| public: | ||||
|     ServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket, const String& project_path) | ||||
|         : IPC::ServerConnection<LanguageClientEndpoint, LanguageServerEndpoint>(*this, move(socket)) | ||||
|         : IPC::ConnectionToServer<LanguageClientEndpoint, LanguageServerEndpoint>(*this, move(socket)) | ||||
|     { | ||||
|         m_project_path = project_path; | ||||
|         async_greet(m_project_path); | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
| #include <AK/LexicalPath.h> | ||||
| #include <DevTools/HackStudio/LanguageServers/LanguageClientEndpoint.h> | ||||
| #include <DevTools/HackStudio/LanguageServers/LanguageServerEndpoint.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| 
 | ||||
| #define LANGUAGE_CLIENT(language_name_, socket_name)                                                  \ | ||||
|     namespace language_name_ {                                                                        \ | ||||
|  |  | |||
|  | @ -8,12 +8,12 @@ | |||
| 
 | ||||
| #include <InspectorServer/InspectorClientEndpoint.h> | ||||
| #include <InspectorServer/InspectorServerEndpoint.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| 
 | ||||
| namespace Inspector { | ||||
| 
 | ||||
| class InspectorServerClient final | ||||
|     : public IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<InspectorClientEndpoint, InspectorServerEndpoint> | ||||
|     , public InspectorClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(InspectorServerClient, "/tmp/portal/inspector") | ||||
| 
 | ||||
|  | @ -22,7 +22,7 @@ public: | |||
| 
 | ||||
| private: | ||||
|     InspectorServerClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|         : IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint>(*this, move(socket)) | ||||
|         : IPC::ConnectionToServer<InspectorClientEndpoint, InspectorServerEndpoint>(*this, move(socket)) | ||||
|     { | ||||
|     } | ||||
| }; | ||||
|  |  | |||
|  | @ -15,7 +15,7 @@ namespace Audio { | |||
| static timespec g_enqueue_wait_time { 0, 10'000'000 }; | ||||
| 
 | ||||
| ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|     : IPC::ServerConnection<AudioClientEndpoint, AudioServerEndpoint>(*this, move(socket)) | ||||
|     : IPC::ConnectionToServer<AudioClientEndpoint, AudioServerEndpoint>(*this, move(socket)) | ||||
| { | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -8,14 +8,14 @@ | |||
| 
 | ||||
| #include <AudioServer/AudioClientEndpoint.h> | ||||
| #include <AudioServer/AudioServerEndpoint.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| 
 | ||||
| namespace Audio { | ||||
| 
 | ||||
| class Buffer; | ||||
| 
 | ||||
| class ConnectionFromClient final | ||||
|     : public IPC::ServerConnection<AudioClientEndpoint, AudioServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<AudioClientEndpoint, AudioServerEndpoint> | ||||
|     , public AudioClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(ConnectionFromClient, "/tmp/portal/audio") | ||||
| public: | ||||
|  |  | |||
|  | @ -11,12 +11,12 @@ | |||
| #include <LibCore/File.h> | ||||
| #include <LibCore/Promise.h> | ||||
| #include <LibCore/StandardPaths.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| 
 | ||||
| namespace Config { | ||||
| 
 | ||||
| class Client final | ||||
|     : public IPC::ServerConnection<ConfigClientEndpoint, ConfigServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<ConfigClientEndpoint, ConfigServerEndpoint> | ||||
|     , public ConfigClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(Client, "/tmp/portal/config") | ||||
| 
 | ||||
|  | @ -40,7 +40,7 @@ public: | |||
| 
 | ||||
| private: | ||||
|     explicit Client(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|         : IPC::ServerConnection<ConfigClientEndpoint, ConfigServerEndpoint>(*this, move(socket)) | ||||
|         : IPC::ConnectionToServer<ConfigClientEndpoint, ConfigServerEndpoint>(*this, move(socket)) | ||||
|     { | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
| #include <LaunchServer/LaunchClientEndpoint.h> | ||||
| #include <LaunchServer/LaunchServerEndpoint.h> | ||||
| #include <LibDesktop/Launcher.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| #include <stdlib.h> | ||||
| 
 | ||||
| namespace Desktop { | ||||
|  | @ -34,12 +34,12 @@ auto Launcher::Details::from_details_str(const String& details_str) -> NonnullRe | |||
| } | ||||
| 
 | ||||
| class LaunchServerConnection final | ||||
|     : public IPC::ServerConnection<LaunchClientEndpoint, LaunchServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<LaunchClientEndpoint, LaunchServerEndpoint> | ||||
|     , public LaunchClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(LaunchServerConnection, "/tmp/portal/launch") | ||||
| private: | ||||
|     LaunchServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|         : IPC::ServerConnection<LaunchClientEndpoint, LaunchServerEndpoint>(*this, move(socket)) | ||||
|         : IPC::ConnectionToServer<LaunchClientEndpoint, LaunchServerEndpoint>(*this, move(socket)) | ||||
|     { | ||||
|     } | ||||
| }; | ||||
|  |  | |||
|  | @ -13,14 +13,14 @@ | |||
| #include <LibCore/Promise.h> | ||||
| #include <LibCore/StandardPaths.h> | ||||
| #include <LibGUI/Window.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| 
 | ||||
| namespace FileSystemAccessClient { | ||||
| 
 | ||||
| using Result = ErrorOr<NonnullRefPtr<Core::File>>; | ||||
| 
 | ||||
| class Client final | ||||
|     : public IPC::ServerConnection<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint> | ||||
|     , public FileSystemAccessClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(Client, "/tmp/portal/filesystemaccess") | ||||
| 
 | ||||
|  | @ -37,7 +37,7 @@ protected: | |||
| 
 | ||||
| private: | ||||
|     explicit Client(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|         : IPC::ServerConnection<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint>(*this, move(socket)) | ||||
|         : IPC::ConnectionToServer<FileSystemAccessClientEndpoint, FileSystemAccessServerEndpoint>(*this, move(socket)) | ||||
|     { | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -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: | ||||
|  |  | |||
|  | @ -25,14 +25,14 @@ public: | |||
|     } | ||||
| 
 | ||||
| template<typename ClientEndpoint, typename ServerEndpoint> | ||||
| class ServerConnection : public IPC::Connection<ClientEndpoint, ServerEndpoint> | ||||
| class ConnectionToServer : public IPC::Connection<ClientEndpoint, ServerEndpoint> | ||||
|     , public ClientEndpoint::Stub | ||||
|     , public ServerEndpoint::template Proxy<ClientEndpoint> { | ||||
| public: | ||||
|     using ClientStub = typename ClientEndpoint::Stub; | ||||
|     using IPCProxy = typename ServerEndpoint::template Proxy<ClientEndpoint>; | ||||
| 
 | ||||
|     ServerConnection(ClientStub& local_endpoint, NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|     ConnectionToServer(ClientStub& local_endpoint, NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|         : Connection<ClientEndpoint, ServerEndpoint>(local_endpoint, move(socket)) | ||||
|         , ServerEndpoint::template Proxy<ClientEndpoint>(*this, {}) | ||||
|     { | ||||
|  | @ -10,7 +10,7 @@ | |||
| namespace ImageDecoderClient { | ||||
| 
 | ||||
| Client::Client(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|     : IPC::ServerConnection<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint>(*this, move(socket)) | ||||
|     : IPC::ConnectionToServer<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint>(*this, move(socket)) | ||||
| { | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
| #include <AK/HashMap.h> | ||||
| #include <ImageDecoder/ImageDecoderClientEndpoint.h> | ||||
| #include <ImageDecoder/ImageDecoderServerEndpoint.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| 
 | ||||
| namespace ImageDecoderClient { | ||||
| 
 | ||||
|  | @ -25,7 +25,7 @@ struct DecodedImage { | |||
| }; | ||||
| 
 | ||||
| class Client final | ||||
|     : public IPC::ServerConnection<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint> | ||||
|     , public ImageDecoderClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(Client, "/tmp/portal/image"); | ||||
| 
 | ||||
|  |  | |||
|  | @ -11,7 +11,7 @@ | |||
| namespace Protocol { | ||||
| 
 | ||||
| RequestClient::RequestClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|     : IPC::ServerConnection<RequestClientEndpoint, RequestServerEndpoint>(*this, move(socket)) | ||||
|     : IPC::ConnectionToServer<RequestClientEndpoint, RequestServerEndpoint>(*this, move(socket)) | ||||
| { | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <AK/HashMap.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| #include <RequestServer/RequestClientEndpoint.h> | ||||
| #include <RequestServer/RequestServerEndpoint.h> | ||||
| 
 | ||||
|  | @ -16,7 +16,7 @@ namespace Protocol { | |||
| class Request; | ||||
| 
 | ||||
| class RequestClient final | ||||
|     : public IPC::ServerConnection<RequestClientEndpoint, RequestServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<RequestClientEndpoint, RequestServerEndpoint> | ||||
|     , public RequestClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(RequestClient, "/tmp/portal/request") | ||||
| 
 | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
| namespace Protocol { | ||||
| 
 | ||||
| WebSocketClient::WebSocketClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|     : IPC::ServerConnection<WebSocketClientEndpoint, WebSocketServerEndpoint>(*this, move(socket)) | ||||
|     : IPC::ConnectionToServer<WebSocketClientEndpoint, WebSocketServerEndpoint>(*this, move(socket)) | ||||
| { | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <AK/HashMap.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| #include <WebSocket/WebSocketClientEndpoint.h> | ||||
| #include <WebSocket/WebSocketServerEndpoint.h> | ||||
| 
 | ||||
|  | @ -16,7 +16,7 @@ namespace Protocol { | |||
| class WebSocket; | ||||
| 
 | ||||
| class WebSocketClient final | ||||
|     : public IPC::ServerConnection<WebSocketClientEndpoint, WebSocketServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<WebSocketClientEndpoint, WebSocketServerEndpoint> | ||||
|     , public WebSocketClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(WebSocketClient, "/tmp/portal/websocket") | ||||
| 
 | ||||
|  |  | |||
|  | @ -6,14 +6,14 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| #include <SQLServer/SQLClientEndpoint.h> | ||||
| #include <SQLServer/SQLServerEndpoint.h> | ||||
| 
 | ||||
| namespace SQL { | ||||
| 
 | ||||
| class SQLClient | ||||
|     : public IPC::ServerConnection<SQLClientEndpoint, SQLServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<SQLClientEndpoint, SQLServerEndpoint> | ||||
|     , public SQLClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(SQLClient, "/tmp/portal/sql") | ||||
|     virtual ~SQLClient(); | ||||
|  | @ -28,7 +28,7 @@ class SQLClient | |||
| 
 | ||||
| private: | ||||
|     SQLClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket) | ||||
|         : IPC::ServerConnection<SQLClientEndpoint, SQLServerEndpoint>(*this, move(socket)) | ||||
|         : IPC::ConnectionToServer<SQLClientEndpoint, SQLServerEndpoint>(*this, move(socket)) | ||||
|     { | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ | |||
| namespace Web { | ||||
| 
 | ||||
| WebContentClient::WebContentClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket, OutOfProcessWebView& view) | ||||
|     : IPC::ServerConnection<WebContentClientEndpoint, WebContentServerEndpoint>(*this, move(socket)) | ||||
|     : IPC::ConnectionToServer<WebContentClientEndpoint, WebContentServerEndpoint>(*this, move(socket)) | ||||
|     , m_view(view) | ||||
| { | ||||
| } | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <AK/HashMap.h> | ||||
| #include <LibIPC/ServerConnection.h> | ||||
| #include <LibIPC/ConnectionToServer.h> | ||||
| #include <LibWeb/Cookie/ParsedCookie.h> | ||||
| #include <WebContent/WebContentClientEndpoint.h> | ||||
| #include <WebContent/WebContentServerEndpoint.h> | ||||
|  | @ -17,7 +17,7 @@ namespace Web { | |||
| class OutOfProcessWebView; | ||||
| 
 | ||||
| class WebContentClient final | ||||
|     : public IPC::ServerConnection<WebContentClientEndpoint, WebContentServerEndpoint> | ||||
|     : public IPC::ConnectionToServer<WebContentClientEndpoint, WebContentServerEndpoint> | ||||
|     , public WebContentClientEndpoint { | ||||
|     IPC_CLIENT_CONNECTION(WebContentClient, "/tmp/portal/webcontent"); | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Itamar
						Itamar