summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDesktop
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2022-02-25 13:16:10 +0200
committerAndreas Kling <kling@serenityos.org>2022-02-25 22:35:12 +0100
commit72ba072768dd2e2a53b184f10b2555f3a4d2644b (patch)
treefa23e1198a2c8a55ffbae33b0cac0daec00708c5 /Userland/Libraries/LibDesktop
parent2f61d32f9942d14f04eb30347ef319882f3603f1 (diff)
downloadserenity-72ba072768dd2e2a53b184f10b2555f3a4d2644b.zip
LibDesktop: Rename LaunchServerConnection=>ConnectionToLaunchServer
This was done with CLion's automatic rename feature.
Diffstat (limited to 'Userland/Libraries/LibDesktop')
-rw-r--r--Userland/Libraries/LibDesktop/Launcher.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibDesktop/Launcher.cpp b/Userland/Libraries/LibDesktop/Launcher.cpp
index 606827e6fa..62da78b5ac 100644
--- a/Userland/Libraries/LibDesktop/Launcher.cpp
+++ b/Userland/Libraries/LibDesktop/Launcher.cpp
@@ -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;
}