diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-29 19:03:13 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-29 19:37:23 +0200 |
commit | 24a0354ce84c6c839930788bc772736f7c56ae18 (patch) | |
tree | 535fd6235b4858da2f5d918d079481582a0a0102 /Libraries/LibGfx/Rect.h | |
parent | 01ff36a2f41e87d908f195c1cd517ff45d89e580 (diff) | |
download | serenity-24a0354ce84c6c839930788bc772736f7c56ae18.zip |
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.
Diffstat (limited to 'Libraries/LibGfx/Rect.h')
-rw-r--r-- | Libraries/LibGfx/Rect.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGfx/Rect.h b/Libraries/LibGfx/Rect.h index d9109067f4..5a025cb282 100644 --- a/Libraries/LibGfx/Rect.h +++ b/Libraries/LibGfx/Rect.h @@ -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&); } |