File indexing completed on 2025-01-19 04:46:44
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #include "antispamplugin.h" 0007 #include "antispamplugininterface.h" 0008 #include <KPluginFactory> 0009 0010 K_PLUGIN_CLASS_WITH_JSON(AntiSpamPlugin, "kmail_antispamplugin.json") 0011 0012 AntiSpamPlugin::AntiSpamPlugin(QObject *parent, const QList<QVariant> &) 0013 : PimCommon::GenericPlugin(parent) 0014 { 0015 } 0016 0017 AntiSpamPlugin::~AntiSpamPlugin() = default; 0018 0019 PimCommon::GenericPluginInterface *AntiSpamPlugin::createInterface(QObject *parent) 0020 { 0021 return new AntiSpamPluginInterface(parent); 0022 } 0023 0024 #include "antispamplugin.moc" 0025 0026 #include "moc_antispamplugin.cpp"