File indexing completed on 2025-03-09 04:10:27
0001 /* 0002 * SPDX-FileCopyrightText: 2018 Jouni Pentikäinen <joupent@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KISREFERENCEIMAGECOLLECTION_H 0008 #define KISREFERENCEIMAGECOLLECTION_H 0009 0010 #include <QVector> 0011 0012 class QIODevice; 0013 class KisReferenceImage; 0014 0015 class KisReferenceImageCollection 0016 { 0017 public: 0018 explicit KisReferenceImageCollection() = default; 0019 explicit KisReferenceImageCollection(const QVector<KisReferenceImage*> &references); 0020 0021 const QVector<KisReferenceImage*> &referenceImages() const; 0022 0023 bool save(QIODevice *io); 0024 bool load(QIODevice *io); 0025 0026 private: 0027 QVector<KisReferenceImage*> references; 0028 }; 0029 0030 #endif