/* * Copyright (c) 2018-2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace Inspector { class InspectorServerClient final : public IPC::ConnectionToServer , public InspectorClientEndpoint { IPC_CLIENT_CONNECTION(InspectorServerClient, "/tmp/session/%sid/portal/inspector"sv) public: virtual ~InspectorServerClient() override = default; private: InspectorServerClient(NonnullOwnPtr socket) : IPC::ConnectionToServer(*this, move(socket)) { } }; }