1 | /* |
2 | SPDX-FileCopyrightText: 2021 Kai Uwe Broulik <kde@broulik.de> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.0-or-later |
5 | */ |
6 | |
7 | #include <KPluginFactory> |
8 | #include <purpose/pluginbase.h> |
9 | |
10 | class BarcodePlugin : public Purpose::PluginBase |
11 | { |
12 | Q_OBJECT |
13 | public: |
14 | using PluginBase::PluginBase; |
15 | Purpose::Job *createJob() const override |
16 | { |
17 | // It's never supposed to go beyond the configuration page |
18 | Q_UNREACHABLE(); |
19 | return nullptr; |
20 | } |
21 | }; |
22 | |
23 | K_PLUGIN_CLASS_WITH_JSON(BarcodePlugin, "barcodeplugin.json" ) |
24 | |
25 | #include "barcodeplugin.moc" |
26 | |