mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 09:32:30 -06:00
15 lines
510 B
C++
15 lines
510 B
C++
// 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:
|
|
QtImageInterface();
|
|
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;
|
|
};
|