source: wkhtmltox/trunk/fuentes/include/wkhtmltox/imageconverter.hh @ 51

Last change on this file since 51 was 51, checked in by mabarracus, 4 years ago

wip

File size: 1.3 KB
Line 
1// Copyright 2010 wkhtmltopdf authors
2//
3// This file is part of wkhtmltopdf.
4//
5// wkhtmltopdf is free software: you can redistribute it and/or modify
6// it under the terms of the GNU Lesser General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// wkhtmltopdf 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 Lesser General Public License
16// along with wkhtmltopdf.  If not, see <http://www.gnu.org/licenses/>.
17
18#ifndef __IMAGECONVERTER_HH__
19#define __IMAGECONVERTER_HH__
20
21#include <wkhtmltox/converter.hh>
22#include <wkhtmltox/imagesettings.hh>
23
24#include <wkhtmltox/dllbegin.inc>
25namespace wkhtmltopdf {
26
27class DLL_LOCAL ImageConverterPrivate;
28
29class DLL_PUBLIC ImageConverter: public Converter {
30        Q_OBJECT
31public:
32        ImageConverter(settings::ImageGlobal & settings, const QString * data=NULL);
33        ~ImageConverter();
34        const QByteArray & output();
35private:
36        ImageConverterPrivate * d;
37        virtual ConverterPrivate & priv();
38        friend class ImageConverterPrivate;
39};
40
41#include <wkhtmltox/dllend.inc>
42}
43#endif //__IMAGECONVERTER_HH__
Note: See TracBrowser for help on using the repository browser.