summaryrefslogtreecommitdiff
path: root/Libraries/LibIPC/Decoder.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-03 22:15:27 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-03 23:01:58 +0200
commit78943f031eabf208954358aef76615dbe17c41d4 (patch)
tree3f0772b63eee3e88a5b4cd373966dc8674430c7f /Libraries/LibIPC/Decoder.h
parentdce3faff086f5cca1cd41225e27983d8f2ec89ba (diff)
downloadserenity-78943f031eabf208954358aef76615dbe17c41d4.zip
LibIPC: Add a simple IPC::Dictionary type (String key -> String value)
Diffstat (limited to 'Libraries/LibIPC/Decoder.h')
-rw-r--r--Libraries/LibIPC/Decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibIPC/Decoder.h b/Libraries/LibIPC/Decoder.h
index 4cba8ebb5a..dfc68f6f56 100644
--- a/Libraries/LibIPC/Decoder.h
+++ b/Libraries/LibIPC/Decoder.h
@@ -27,6 +27,7 @@
#pragma once
#include <AK/Forward.h>
+#include <LibIPC/Forward.h>
#include <LibIPC/Message.h>
namespace IPC {
@@ -55,6 +56,7 @@ public:
bool decode(i64&);
bool decode(float&);
bool decode(String&);
+ bool decode(Dictionary&);
template<typename T>
bool decode(T& value)