Changeset View
Changeset View
Standalone View
Standalone View
plugins/impex/heightmap/kis_heightmap_import.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | * Copyright (c) 2014 Boudewijn Rempt <boud@valdyas.org> | 2 | * Copyright (c) 2014 Boudewijn Rempt <boud@valdyas.org> | ||
3 | * Copyright (c) 2017 Victor Wåhlström <victor.wahlstrom@initiali.se> | ||||
3 | * | 4 | * | ||
4 | * This library is free software; you can redistribute it and/or modify | 5 | * This library is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU Lesser General Public License as published by | 6 | * it under the terms of the GNU Lesser General Public License as published by | ||
6 | * the Free Software Foundation; either version 2.1 of the License, or | 7 | * the Free Software Foundation; either version 2.1 of the License, or | ||
7 | * (at your option) any later version. | 8 | * (at your option) any later version. | ||
8 | * | 9 | * | ||
9 | * This library is distributed in the hope that it will be useful, | 10 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU Lesser General Public License for more details. | 13 | * GNU Lesser General Public License for more details. | ||
13 | * | 14 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public License | 15 | * You should have received a copy of the GNU Lesser General Public License | ||
15 | * along with this program; if not, write to the Free Software | 16 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | * Boston, MA 02110-1301, USA. | 18 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 19 | */ | ||
19 | 20 | | |||
20 | #ifndef _KIS_HeightMap_IMPORT_H_ | 21 | #ifndef _KIS_HeightMap_IMPORT_H_ | ||
21 | #define _KIS_HeightMap_IMPORT_H_ | 22 | #define _KIS_HeightMap_IMPORT_H_ | ||
22 | 23 | | |||
23 | #include <QVariant> | 24 | #include <QVariant> | ||
24 | 25 | | |||
25 | #include <KisImportExportFilter.h> | 26 | #include <KisImportExportFilter.h> | ||
26 | 27 | | |||
27 | | ||||
28 | class KisHeightMapImport : public KisImportExportFilter | 28 | class KisHeightMapImport : public KisImportExportFilter | ||
29 | { | 29 | { | ||
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | public: | 31 | public: | ||
32 | KisHeightMapImport(QObject *parent, const QVariantList &); | 32 | KisHeightMapImport(QObject *parent, const QVariantList &); | ||
33 | ~KisHeightMapImport() override; | 33 | ~KisHeightMapImport() override; | ||
34 | public: | 34 | public: | ||
35 | KisImportExportFilter::ConversionStatus convert(KisDocument *document, QIODevice *io, KisPropertiesConfigurationSP configuration = 0) override; | 35 | KisImportExportFilter::ConversionStatus convert(KisDocument *document, QIODevice *io, KisPropertiesConfigurationSP configuration = 0) override; | ||
36 | }; | 36 | }; | ||
37 | 37 | | |||
38 | #endif | 38 | #endif |