mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 18:13:20 +00:00
26 lines
468 B
C
26 lines
468 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2024, Andrew Kaster <akaster@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <AK/Types.h>
|
||
|
|
#include <LibIPC/Forward.h>
|
||
|
|
|
||
|
|
namespace WebView {
|
||
|
|
|
||
|
|
struct ProcessHandle {
|
||
|
|
// FIXME: Use mach_port_t on macOS/Hurd and HANDLE on Windows.
|
||
|
|
pid_t pid;
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
template<>
|
||
|
|
ErrorOr<void> IPC::encode(IPC::Encoder&, WebView::ProcessHandle const&);
|
||
|
|
|
||
|
|
template<>
|
||
|
|
ErrorOr<WebView::ProcessHandle> IPC::decode(IPC::Decoder&);
|