mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
LibCore+LibIPC: Move various encode/decode specializations to LibIPC
This removes a dependency on LibIPC from LibCore.
This commit is contained in:
parent
18f28f398b
commit
a4d931d14a
Notes:
github-actions[bot]
2025-06-14 20:04:39 +00:00
Author: https://github.com/rmg-x
Commit: a4d931d14a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5084
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/trflynn89
7 changed files with 22 additions and 34 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue