1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:57:44 +00:00

LibIPC+LibGfx: Templatize IPC encoding as well as decoding

Now most classes dictate how they are serialized and deserialized when
transmitted across LibIPC sockets. This also makes the IPC compiler
a bit simpler. :^)
This commit is contained in:
Andreas Kling 2020-05-12 18:05:43 +02:00
parent cba4880301
commit 3775983dfe
10 changed files with 83 additions and 45 deletions

View file

@ -114,5 +114,6 @@ const LogStream& operator<<(const LogStream&, const Size&);
}
namespace IPC {
bool encode(Encoder&, const Gfx::Size&);
bool decode(Decoder&, Gfx::Size&);
}