mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-04 05:50:15 +00:00
24 lines
653 B
C++
24 lines
653 B
C++
// Aseprite Desktop Integration Module
|
|
// Copyright (C) 2016 Gabriel Rauter
|
|
//
|
|
// This program is free software; you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License version 2 as
|
|
// published by the Free Software Foundation.
|
|
|
|
#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
|