mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +00:00

They're not used anywhere and are unnecessary boilerplate code. So let's remove them and update IPCCompiler to allow for empty endpoint declarations.
30 lines
729 B
C++
30 lines
729 B
C++
/*
|
|
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <InspectorServer/InspectorClientEndpoint.h>
|
|
#include <InspectorServer/InspectorServerEndpoint.h>
|
|
#include <LibIPC/ServerConnection.h>
|
|
|
|
namespace Inspector {
|
|
|
|
class InspectorServerClient final
|
|
: public IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint>
|
|
, public InspectorClientEndpoint {
|
|
C_OBJECT(InspectorServerClient);
|
|
|
|
public:
|
|
virtual ~InspectorServerClient() override = default;
|
|
|
|
private:
|
|
InspectorServerClient()
|
|
: IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint>(*this, "/tmp/portal/inspector")
|
|
{
|
|
}
|
|
};
|
|
|
|
}
|