mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
88ccaae11e
Now that all the classes for Ladybird are in the Ladybird namespace, we don't need them named as Ladybird::FooBarLadybird. For the Qt-specific classes, we can tack on a Qt at the end for clarity, but FontPlugin and ImageCodecPlugin no longer have anything to do with Qt.
23 lines
503 B
C++
23 lines
503 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 ImageCodecPlugin final : public Web::Platform::ImageCodecPlugin {
|
|
public:
|
|
ImageCodecPlugin() = default;
|
|
virtual ~ImageCodecPlugin() override;
|
|
|
|
virtual Optional<Web::Platform::DecodedImage> decode_image(ReadonlyBytes data) override;
|
|
};
|
|
|
|
}
|