summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC/Encoder.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/Encoder.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/Encoder.h')
-rw-r--r--Userland/Libraries/LibIPC/Encoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIPC/Encoder.h b/Userland/Libraries/LibIPC/Encoder.h
index d753a7940c..1588f124dd 100644
--- a/Userland/Libraries/LibIPC/Encoder.h
+++ b/Userland/Libraries/LibIPC/Encoder.h
@@ -126,6 +126,9 @@ template<>
ErrorOr<void> encode(Encoder&, Duration const&);
template<>
+ErrorOr<void> encode(Encoder&, UnixDateTime const&);
+
+template<>
ErrorOr<void> encode(Encoder&, URL const&);
template<>