summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Rect.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-12 18:05:43 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-12 18:49:24 +0200
commit3775983dfe840ede58bafd8ee237fe4b258f4bd7 (patch)
treea333e56fd685e25bccf91377ede73e7376f2d8ae /Libraries/LibGfx/Rect.h
parentcba48803014f8248b7f29747204bc757cdd5d63d (diff)
downloadserenity-3775983dfe840ede58bafd8ee237fe4b258f4bd7.zip
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. :^)
Diffstat (limited to 'Libraries/LibGfx/Rect.h')
-rw-r--r--Libraries/LibGfx/Rect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGfx/Rect.h b/Libraries/LibGfx/Rect.h
index 5a025cb282..6baedfe092 100644
--- a/Libraries/LibGfx/Rect.h
+++ b/Libraries/LibGfx/Rect.h
@@ -339,4 +339,5 @@ const LogStream& operator<<(const LogStream&, const Rect&);
namespace IPC {
bool decode(Decoder&, Gfx::Rect&);
+bool encode(Encoder&, const Gfx::Rect&);
}