LibCore+LibIPC: Move various encode/decode specializations to LibIPC

This removes a dependency on LibIPC from LibCore.
This commit is contained in:
rmg-x 2025-06-13 18:20:29 -05:00 committed by Tim Flynn
commit a4d931d14a
Notes: github-actions[bot] 2025-06-14 20:04:39 +00:00
7 changed files with 22 additions and 34 deletions

View file

@ -17,6 +17,7 @@
#include <AK/Try.h>
#include <AK/TypeList.h>
#include <AK/Variant.h>
#include <LibCore/Forward.h>
#include <LibCore/SharedCircularQueue.h>
#include <LibCore/Socket.h>
#include <LibIPC/Concepts.h>
@ -117,6 +118,15 @@ ErrorOr<File> decode(Decoder&);
template<>
ErrorOr<Empty> decode(Decoder&);
template<>
ErrorOr<Core::AnonymousBuffer> decode(Decoder&);
template<>
ErrorOr<Core::DateTime> decode(Decoder&);
template<>
ErrorOr<Core::ProxyData> decode(Decoder&);
template<Concepts::Array T>
ErrorOr<T> decode(Decoder& decoder)
{