blob: 96ff01125d810274d8a209015d1e24d2d97a4ca7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <AK/String.h>
typedef Vector<u8, 1024> IMessageBuffer;
class IMessage {
public:
virtual ~IMessage();
virtual int endpoint_magic() const = 0;
virtual int message_id() const = 0;
virtual String message_name() const = 0;
virtual IMessageBuffer encode() const = 0;
protected:
IMessage();
};
|