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

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; either version 2.1 of the License, or
0007  *  (at your option) any later version.
0008  *
0009  *  This library is distributed in the hope that it will be useful,
0010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  *  GNU Lesser General Public License for more details.
0013  *
0014  *  You should have received a copy of the GNU Lesser General Public License
0015  *  along with this program; if not, write to the Free Software
0016  *  Foundation, Inc., 51 Franklin Street, Fifth Floor,
0017  * Boston, MA 02110-1301, USA.
0018  */
0019 
0020 #ifndef _KIS_XCF_IMPORT_H_
0021 #define _KIS_XCF_IMPORT_H_
0022 
0023 #include <QVariant>
0024 #include <QIODevice>
0025 
0026 #include <KisImportExportFilter.h>
0027 
0028 class KisDocument;
0029 
0030 class KisXCFImport : public KisImportExportFilter
0031 {
0032     Q_OBJECT
0033 public:
0034     KisXCFImport(QObject *parent, const QVariantList &);
0035     ~KisXCFImport() override;
0036 public:
0037     KisImportExportErrorCode convert(KisDocument *document, QIODevice *io,  KisPropertiesConfigurationSP configuration = 0) override;
0038 };
0039 
0040 #endif