1 /*
2 This file is part of kde-thumbnailer-epub
3 Copyright (C) 2012-2017 Giacomo Barazzetti <giacomosrv@gmail.com>
4 
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef EPUBTHUMBNAIL_H
20 #define EPUBTHUMBNAIL_H
21 
22 #include <QObject>
23 #include <kio/thumbcreator.h>
24 
25 class EPUBCreator : public QObject, public ThumbCreator
26 {
27     Q_OBJECT
28 
29     public:
30         virtual bool create(const QString &path, int width, int height, QImage &img);
31         virtual Flags flags() const;
32 
33 };
34 
35 #endif // EPUBTHUMBNAIL_H
36