summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC/Decoder.h
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2023-03-13 22:06:22 +0100
committerJelle Raaijmakers <jelle@gmta.nl>2023-05-24 23:18:07 +0200
commitc1323febc28c4d21b555b2449ec7473dc1c0d568 (patch)
treec8235ebe16154648d80b03c3c1115a0ad5e45f5d /Userland/Libraries/LibIPC/Decoder.h
parent0dfcaf138904b8930af7f530b398791a448a2f91 (diff)
downloadserenity-c1323febc28c4d21b555b2449ec7473dc1c0d568.zip
AK: Introduce UnixDateTime
This is a generic wrapper for a time instant relative to the unix epoch, and does not account for leap seconds. It should be used in place of Duration in most current cases.
Diffstat (limited to 'Userland/Libraries/LibIPC/Decoder.h')
-rw-r--r--Userland/Libraries/LibIPC/Decoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIPC/Decoder.h b/Userland/Libraries/LibIPC/Decoder.h
index 1422fec6f4..e342082f8f 100644
--- a/Userland/Libraries/LibIPC/Decoder.h
+++ b/Userland/Libraries/LibIPC/Decoder.h
@@ -97,6 +97,9 @@ template<>
ErrorOr<Duration> decode(Decoder&);
template<>
+ErrorOr<UnixDateTime> decode(Decoder&);
+
+template<>
ErrorOr<URL> decode(Decoder&);
template<>