Purpose

barcodeplugin.cpp
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
10class BarcodePlugin : public Purpose::PluginBase
11{
13public:
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
23K_PLUGIN_CLASS_WITH_JSON(BarcodePlugin, "barcodeplugin.json")
24
25#include "barcodeplugin.moc"
#define K_PLUGIN_CLASS_WITH_JSON(classname, jsonFile)
Job that will actually perform the sharing.
Definition job.h:34
Base class to implement by plugins.
Definition pluginbase.h:29
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.