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

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

class IMessage {
public:
    virtual ~IMessage();

    virtual int id() const = 0;
    virtual String name() const = 0;
    virtual ByteBuffer encode() const = 0;

protected:
    IMessage();
};