1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:17:34 +00:00

SpiceAgent: Let's start rewriting the messaging system :^)

The old message system was very dependent on syscalls, and the overall
structure made it hard to implement new features.

The new message system is pretty expandible, where each message has its
own dedicated class. As well as this, we now use Core::File and
AK::Stream for reading and writing messages.

Using AK::Stream also allows us to change the actual data source
(in this case, Core::File) without having to update a whole lot of code
in the future.
This commit is contained in:
Caoimhe 2023-05-13 13:08:23 +01:00 committed by Andreas Kling
parent fd4f00ee91
commit 79c73dd260
7 changed files with 320 additions and 370 deletions

View file

@ -5,6 +5,7 @@ serenity_component(
set(SOURCES
main.cpp
Message.cpp
SpiceAgent.cpp
ConnectionToClipboardServer.cpp
)