diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2023-03-13 22:06:22 +0100 |
---|---|---|
committer | Jelle Raaijmakers <jelle@gmta.nl> | 2023-05-24 23:18:07 +0200 |
commit | c1323febc28c4d21b555b2449ec7473dc1c0d568 (patch) | |
tree | c8235ebe16154648d80b03c3c1115a0ad5e45f5d /Userland/Libraries/LibIPC/Decoder.h | |
parent | 0dfcaf138904b8930af7f530b398791a448a2f91 (diff) | |
download | serenity-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.h | 3 |
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<> |