mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00

The type of MessageBuffer will be changing, and it was a bit awkward to look around to find where the forward declaration was. This patch just moves it to the obvious forwarding header.
26 lines
375 B
C++
26 lines
375 B
C++
/*
|
|
* 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&);
|
|
|
|
}
|