/* * Copyright (c) 2024, Andrew Kaster * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace WebView { struct ProcessHandle { // FIXME: Use mach_port_t on macOS/Hurd and HANDLE on Windows. pid_t pid { -1 }; }; } template<> ErrorOr IPC::encode(IPC::Encoder&, WebView::ProcessHandle const&); template<> ErrorOr IPC::decode(IPC::Decoder&);