summaryrefslogtreecommitdiff
path: root/Libraries/LibIPC/IMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibIPC/IMessage.h')
-rw-r--r--Libraries/LibIPC/IMessage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Libraries/LibIPC/IMessage.h b/Libraries/LibIPC/IMessage.h
index a6e37bdd90..96ff01125d 100644
--- a/Libraries/LibIPC/IMessage.h
+++ b/Libraries/LibIPC/IMessage.h
@@ -1,7 +1,8 @@
#pragma once
#include <AK/String.h>
-#include <AK/ByteBuffer.h>
+
+typedef Vector<u8, 1024> IMessageBuffer;
class IMessage {
public:
@@ -10,7 +11,7 @@ public:
virtual int endpoint_magic() const = 0;
virtual int message_id() const = 0;
virtual String message_name() const = 0;
- virtual ByteBuffer encode() const = 0;
+ virtual IMessageBuffer encode() const = 0;
protected:
IMessage();