1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:48:13 +00:00

LibIPC: Start fleshing out a separate IPC library

This will be a place to put object serialization/deserialization logic,
message parsing, endpoint management, etc.
This commit is contained in:
Andreas Kling 2019-08-03 15:29:40 +02:00
parent aa8a3d4a89
commit a40e763b2a
7 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#pragma once
#include <AK/AKString.h>
#include <AK/ByteBuffer.h>
class IMessage {
public:
virtual ~IMessage();
const String& name() const { return m_name; }
virtual ByteBuffer encode() = 0;
protected:
IMessage();
private:
String m_name;
};