File indexing completed on 2024-05-12 05:46:51

0001 /*
0002  *  Copyright (c) 2009 Cyrille Berger <cberger@cberger.net>
0003  *
0004  *  This library is free software; you can redistribute it and/or modify
0005  *  it under the terms of the GNU Lesser General Public License as published by
0006  *  the Free Software Foundation; version 2.1 of the License.
0007  *
0008  *  This library is distributed in the hope that it will be useful,
0009  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
0010  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0011  *  GNU Lesser General Public License for more details.
0012  *
0013  *  You should have received a copy of the GNU Lesser General Public License
0014  *  along with this program; if not, write to the Free Software
0015  *  Foundation, Inc., 51 Franklin Street, Fifth Floor,
0016  * Boston, MA 02110-1301, USA.
0017  */
0018 
0019 #ifndef JP2_IMPORT_H_
0020 #define JP2_IMPORT_H_
0021 
0022 #include <QVariant>
0023 
0024 #include <KisImportExportFilter.h>
0025 
0026 class jp2Import : public KisImportExportFilter
0027 {
0028     Q_OBJECT
0029 public:
0030     jp2Import(QObject *parent, const QVariantList &);
0031     virtual ~jp2Import();
0032 public:
0033     KisImportExportErrorCode convert(KisDocument *document, QIODevice *io,  KisPropertiesConfigurationSP configuration = 0) override;
0034 };
0035 
0036 #endif