ladybird/Libraries/LibIPC/IMessage.h
Andreas Kling 8ae62c57ee LibIPC: Rename IMessage id/name to message_id/message_name
Hogging "id" and "name" makes it impossible to use these as message
parameter names, which seems silly. :^)
2019-12-02 11:11:05 +01:00

18 lines
319 B
C++

#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();
};