LibWebView+ImageDecoder+RequestServer+WebContent: Add init_transport

This commit is contained in:
stasoid
2025-01-03 21:19:46 +05:00
committed by Andrew Kaster
parent 652af318db
commit 3e46cb9067
14 changed files with 52 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ class Client final
C_OBJECT_ABSTRACT(Client);
public:
using InitTransport = Messages::ImageDecoderServer::InitTransport;
Client(IPC::Transport);
NonnullRefPtr<Core::Promise<DecodedImage>> decode_image(ReadonlyBytes, Function<ErrorOr<void>(DecodedImage&)> on_resolved, Function<void(Error&)> on_rejected, Optional<Gfx::IntSize> ideal_size = {}, Optional<ByteString> mime_type = {});