File indexing completed on 2025-02-09 04:59:33
0001 /* 0002 SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 // own 0008 #include "launchjob.hpp" 0009 // KF 0010 #include <Purpose/PluginBase> 0011 #include <KPluginFactory> 0012 0013 class KodaskannaPurposePlugin : public Purpose::PluginBase 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 KodaskannaPurposePlugin(QObject *p, const QVariantList &) 0019 : Purpose::PluginBase(p) 0020 { 0021 } 0022 0023 Purpose::Job *createJob() const override 0024 { 0025 return new Kodaskanna::PurposePlugin::LaunchJob(nullptr); 0026 } 0027 }; 0028 0029 K_PLUGIN_CLASS_WITH_JSON(KodaskannaPurposePlugin, "plugin.json") 0030 0031 #include "plugin.moc"