ladybird/Userland/Libraries/LibIPC/Forward.h

27 lines
375 B
C
Raw Normal View History

/*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Error.h>
namespace IPC {
class Decoder;
class Encoder;
class Message;
struct MessageBuffer;
class File;
class Stub;
template<typename T>
ErrorOr<void> encode(Encoder&, T const&);
template<typename T>
ErrorOr<T> decode(Decoder&);
}