mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibDesktop: Rename LaunchServerConnection=>ConnectionToLaunchServer
This was done with CLion's automatic rename feature.
This commit is contained in:
parent
2f61d32f99
commit
72ba072768
Notes:
sideshowbarker
2024-07-17 18:15:43 +09:00
Author: https://github.com/itamar8910
Commit: 72ba072768
Pull-request: https://github.com/SerenityOS/serenity/pull/12760
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue