File size: 510 Bytes
034d0a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;
};