File indexing completed on 2024-05-12 04:33:18

0001 /*
0002     SPDX-FileCopyrightText: 2009-2010 Michael G. Hansen <mike at mghansen dot de>
0003     SPDX-FileCopyrightText: 2011-2018 Gilles Caulier <caulier dot gilles at gmail dot com>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef KIPIIMAGEINFOSHARED_H
0009 #define KIPIIMAGEINFOSHARED_H
0010 
0011 // Libkipi includes
0012 
0013 #include "imageinfoshared.h"
0014 
0015 using namespace KIPI;
0016 
0017 namespace KXMLKipiCmd
0018 {
0019 
0020 class KipiImageInfoShared : public ImageInfoShared
0021 {
0022 public:
0023 
0024     KipiImageInfoShared(Interface* const interface, const QUrl& url);
0025     ~KipiImageInfoShared() override;
0026 
0027     QMap<QString, QVariant> attributes() override;
0028     void                    addAttributes(const QMap<QString, QVariant>& attributes) override;
0029     void                    delAttributes(const QStringList& attributes) override;
0030     void                    clearAttributes() override;
0031 
0032 private:
0033 
0034     class Private;
0035     Private* const d;
0036 };
0037 
0038 } // namespace KXMLKipiCmd
0039 
0040 #endif // KIPIIMAGEINFOSHARED_H