mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-25 18:52:22 -05:00
ac650d2362
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")
|
|
{
|
|
}
|
|
};
|
|
|
|
}
|