/* * Copyright (c) 2022, Dex♪ * Copyright (c) 2022, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace ImageDecoderClient { class Client; } namespace WebContent { class ImageCodecPluginSerenity final : public Web::Platform::ImageCodecPlugin { public: ImageCodecPluginSerenity(); virtual ~ImageCodecPluginSerenity() override; virtual Optional decode_image(ReadonlyBytes) override; private: RefPtr m_client; }; }