source: wkhtmltox/trunk/fuentes/src/lib/imageconverter_p.hh @ 51

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

wip

File size: 1.6 KB
Line 
1// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*-
2// vi:set ts=4 sts=4 sw=4 noet :
3//
4// Copyright 2010 wkhtmltopdf authors
5//
6// This file is part of wkhtmltopdf.
7//
8// wkhtmltopdf is free software: you can redistribute it and/or modify
9// it under the terms of the GNU Lesser General Public License as published by
10// the Free Software Foundation, either version 3 of the License, or
11// (at your option) any later version.
12//
13// wkhtmltopdf is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16// GNU General Public License for more details.
17//
18// You should have received a copy of the GNU Lesser General Public License
19// along with wkhtmltopdf.  If not, see <http://www.gnu.org/licenses/>.
20
21#ifndef __IMAGECONVERTER_P_HH__
22#define __IMAGECONVERTER_P_HH__
23
24#include "converter_p.hh"
25#include "imageconverter.hh"
26#include "multipageloader.hh"
27
28#include "dllbegin.inc"
29namespace wkhtmltopdf {
30
31class DLL_LOCAL ImageConverterPrivate: public ConverterPrivate {
32        Q_OBJECT
33public:
34        ImageConverterPrivate(ImageConverter & o, wkhtmltopdf::settings::ImageGlobal & s, const QString * data);
35
36        wkhtmltopdf::settings::ImageGlobal settings;
37        MultiPageLoader loader;
38private:
39        QByteArray outputData;
40        QString inputData;
41
42        ImageConverter & out;
43        void clearResources();
44
45        LoaderObject * loaderObject;
46
47public slots:
48        void pagesLoaded(bool ok);
49        void beginConvert();
50
51        friend class ImageConverter;
52
53        virtual Converter & outer();
54};
55
56}
57#include "dllend.inc"
58#endif //__IMAGECONVERTER_P_HH__
Note: See TracBrowser for help on using the repository browser.