mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers
Instead of passing the BufferStream, pass the Decoder. I'd like to stop using BufferStream eventually anyway, so it's good to get it out of any API's where it's in currently.
This commit is contained in:
parent
01ff36a2f4
commit
24a0354ce8
Notes:
sideshowbarker
2024-07-19 08:04:04 +09:00
Author: https://github.com/awesomekling
Commit: 24a0354ce8
9 changed files with 26 additions and 19 deletions
|
@ -31,6 +31,7 @@
|
|||
#include <LibGfx/Point.h>
|
||||
#include <LibGfx/Size.h>
|
||||
#include <LibGfx/TextAlignment.h>
|
||||
#include <LibIPC/Forward.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
namespace Gfx {
|
||||
|
@ -337,5 +338,5 @@ const LogStream& operator<<(const LogStream&, const Rect&);
|
|||
}
|
||||
|
||||
namespace IPC {
|
||||
bool decode(BufferStream&, Gfx::Rect&);
|
||||
bool decode(Decoder&, Gfx::Rect&);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue