File indexing completed on 2024-12-22 04:16:02

0001 /*
0002  * This file is part of Krita
0003  *
0004  * SPDX-FileCopyrightText: 2021 L. E. Segovia <amy@amyspark.me>
0005  *
0006  * SPDX-License-Identifier: GPL-2.0-or-later
0007  */
0008 
0009 #include "kis_exif_plugin.h"
0010 
0011 #include <kpluginfactory.h>
0012 
0013 #include <kis_meta_data_backend_registry.h>
0014 
0015 #include "kis_exif_io.h"
0016 
0017 K_PLUGIN_FACTORY_WITH_JSON(KisExifIOPluginFactory, "kritaexif.json", registerPlugin<KisExifPlugin>();)
0018 
0019 KisExifPlugin::KisExifPlugin(QObject *parent, const QVariantList &)
0020     : QObject(parent)
0021 {
0022     KisMetadataBackendRegistry::instance()->add(new KisExifIO());
0023 }
0024 
0025 KisExifPlugin::~KisExifPlugin()
0026 {
0027 }
0028 
0029 #include "kis_exif_plugin.moc"