mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
22 lines
537 B
C++
22 lines
537 B
C++
// Aseprite Desktop Integration Module
|
|
// Copyright (C) 2016 Gabriel Rauter
|
|
//
|
|
// Licensed under the the MIT License (https://opensource.org/licenses/MIT).
|
|
|
|
#ifndef _ASEPRITE_THUMBCREATOR_H_
|
|
#define _ASEPRITE_THUMBCREATOR_H_
|
|
#pragma once
|
|
|
|
#include <QLoggingCategory>
|
|
Q_DECLARE_LOGGING_CATEGORY(LOG_ASEPRITE_THUMBCREATOR)
|
|
|
|
#include <kio/thumbcreator.h>
|
|
|
|
class AsepriteThumbCreator : public ThumbCreator {
|
|
public:
|
|
bool create(const QString& path, int width, int height, QImage& img) override;
|
|
Flags flags() const override;
|
|
};
|
|
|
|
#endif
|