summaryrefslogtreecommitdiff
path: root/Libraries/LibIPC/IMessage.h
blob: a6e37bdd9046b779902124f6544fc4bdd2e43b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <AK/String.h>
#include <AK/ByteBuffer.h>

class IMessage {
public:
    virtual ~IMessage();

    virtual int endpoint_magic() const = 0;
    virtual int message_id() const = 0;
    virtual String message_name() const = 0;
    virtual ByteBuffer encode() const = 0;

protected:
    IMessage();
};