mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
ef757f33da
...and move it to separate files while we're at it.
22 lines
527 B
C++
22 lines
527 B
C++
/*
|
|
* Copyright (c) 2022, Dex♪ <dexes.ttp@gmail.com>
|
|
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/Platform/ImageCodecPlugin.h>
|
|
|
|
namespace Ladybird {
|
|
|
|
class ImageCodecPluginLadybird final : public Web::Platform::ImageCodecPlugin {
|
|
public:
|
|
ImageCodecPluginLadybird() = default;
|
|
virtual ~ImageCodecPluginLadybird() override;
|
|
|
|
virtual Optional<Web::Platform::DecodedImage> decode_image(ReadonlyBytes data) override;
|
|
};
|
|
|
|
}
|