1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:17:43 +00:00

LibIPC: Put all classes in the IPC namespace and remove the leading I

This commit is contained in:
Andreas Kling 2020-02-05 19:57:18 +01:00
parent a894a799c3
commit d264e8fcc5
22 changed files with 108 additions and 80 deletions

View file

@ -28,17 +28,21 @@
#include <AK/String.h>
typedef Vector<u8, 1024> IMessageBuffer;
namespace IPC {
class IMessage {
typedef Vector<u8, 1024> MessageBuffer;
class Message {
public:
virtual ~IMessage();
virtual ~Message();
virtual int endpoint_magic() const = 0;
virtual int message_id() const = 0;
virtual String message_name() const = 0;
virtual IMessageBuffer encode() const = 0;
virtual MessageBuffer encode() const = 0;
protected:
IMessage();
Message();
};
}