1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

LibDesktop: Rename LaunchServerConnection=>ConnectionToLaunchServer

This was done with CLion's automatic rename feature.
This commit is contained in:
Itamar 2022-02-25 13:16:10 +02:00 committed by Andreas Kling
parent 2f61d32f99
commit 72ba072768

View file

@ -33,20 +33,20 @@ auto Launcher::Details::from_details_str(const String& details_str) -> NonnullRe
return details;
}
class LaunchServerConnection final
class ConnectionToLaunchServer final
: public IPC::ConnectionToServer<LaunchClientEndpoint, LaunchServerEndpoint>
, public LaunchClientEndpoint {
IPC_CLIENT_CONNECTION(LaunchServerConnection, "/tmp/portal/launch")
IPC_CLIENT_CONNECTION(ConnectionToLaunchServer, "/tmp/portal/launch")
private:
LaunchServerConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
ConnectionToLaunchServer(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
: IPC::ConnectionToServer<LaunchClientEndpoint, LaunchServerEndpoint>(*this, move(socket))
{
}
};
static LaunchServerConnection& connection()
static ConnectionToLaunchServer& connection()
{
static auto connection = LaunchServerConnection::try_create().release_value_but_fixme_should_propagate_errors();
static auto connection = ConnectionToLaunchServer::try_create().release_value_but_fixme_should_propagate_errors();
return connection;
}