LibIPC: Move MessageBuffer forward declaration from Stub.h to Forward.h

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.
This commit is contained in:
Timothy Flynn 2024-01-02 20:18:48 -05:00 committed by Andreas Kling
parent fa1ef30985
commit 3adf01b816
Notes: sideshowbarker 2024-07-16 21:42:29 +09:00
2 changed files with 2 additions and 3 deletions

View file

@ -13,6 +13,7 @@ namespace IPC {
class Decoder;
class Encoder;
class Message;
struct MessageBuffer;
class File;
class Stub;

View file

@ -9,6 +9,7 @@
#include <AK/ByteString.h>
#include <AK/OwnPtr.h>
#include <LibIPC/Forward.h>
namespace AK {
class BufferStream;
@ -16,9 +17,6 @@ class BufferStream;
namespace IPC {
class Message;
struct MessageBuffer;
class Stub {
public:
virtual ~Stub() = default;