File indexing completed on 2025-01-05 04:49:33

0001 /*
0002    SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "antivirusplugin.h"
0008 #include "antivirusplugininterface.h"
0009 #include <KPluginFactory>
0010 
0011 K_PLUGIN_CLASS_WITH_JSON(AntiVirusPlugin, "kmail_antivirusplugin.json")
0012 
0013 AntiVirusPlugin::AntiVirusPlugin(QObject *parent, const QList<QVariant> &)
0014     : PimCommon::GenericPlugin(parent)
0015 {
0016 }
0017 
0018 AntiVirusPlugin::~AntiVirusPlugin() = default;
0019 
0020 PimCommon::GenericPluginInterface *AntiVirusPlugin::createInterface(QObject *parent)
0021 {
0022     return new AntiVirusPluginInterface(parent);
0023 }
0024 
0025 #include "antivirusplugin.moc"
0026 
0027 #include "moc_antivirusplugin.cpp"