// This is an example not a library /* SPDX-FileCopyrightText: 2008 Daniel Nicoletti SPDX-FileCopyrightText: 2009 Radek Novacek SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PKEXAMPLE_HELPER_H #define PKEXAMPLE_HELPER_H #include #include class PkExampleHelper : public QCoreApplication, protected QDBusContext { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.qt.policykit.examples") public: PkExampleHelper(int &argc, char **argv); ~PkExampleHelper() override; public Q_SLOTS: bool set(const QString &action); bool setValue(const QString &action); }; #endif