2019-08-07 03:56:56 +01:00
|
|
|
// Copyright 2019 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "core/frontend/image_interface.h"
|
|
|
|
|
|
|
|
class QtImageInterface final : public Frontend::ImageInterface {
|
|
|
|
public:
|
2023-07-12 05:43:19 +01:00
|
|
|
QtImageInterface();
|
2023-04-27 05:38:28 +01:00
|
|
|
bool DecodePNG(std::vector<u8>& dst, u32& width, u32& height, std::span<const u8> src) override;
|
|
|
|
bool EncodePNG(const std::string& path, u32 width, u32 height,
|
|
|
|
std::span<const u8> src) override;
|
2019-10-12 16:25:27 +01:00
|
|
|
};
|