File indexing completed on 2024-12-22 04:15:18
0001 /* 0002 * SPDX-FileCopyrightText: 2009 Cyrille Berger <cberger@cberger.net> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "DodgeBurnPlugin.h" 0008 0009 #include <kpluginfactory.h> 0010 #include <filter/kis_filter_registry.h> 0011 0012 #include "DodgeBurn.h" 0013 0014 K_PLUGIN_FACTORY_WITH_JSON(DodgeBurnPluginFactory, "kritadodgeburn.json", registerPlugin<DodgeBurnPlugin>();) 0015 0016 DodgeBurnPlugin::DodgeBurnPlugin(QObject *parent, const QVariantList &) 0017 { 0018 Q_UNUSED(parent); 0019 KisFilterRegistry::instance()->add(new KisFilterDodgeBurn("dodge", "Dodge", i18n("Dodge..."))); 0020 KisFilterRegistry::instance()->add(new KisFilterDodgeBurn("burn", "Burn", i18n("Burn..."))); 0021 } 0022 0023 DodgeBurnPlugin::~DodgeBurnPlugin() 0024 { 0025 } 0026 0027 #include "DodgeBurnPlugin.moc"