File indexing completed on 2024-05-19 04:03:04

0001 /*
0002     SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #include "youtubejob.h"
0008 #include "youtubejobcomposite.h"
0009 #include <purpose/pluginbase.h>
0010 
0011 #include <KPluginFactory>
0012 
0013 class YoutubePlugin : public Purpose::PluginBase
0014 {
0015     Q_OBJECT
0016 public:
0017     using PluginBase::PluginBase;
0018     Purpose::Job *createJob() const override
0019     {
0020         return new YoutubeJobComposite;
0021     }
0022 };
0023 
0024 K_PLUGIN_CLASS_WITH_JSON(YoutubePlugin, "youtubeplugin.json")
0025 
0026 #include "youtubeplugin.moc"