Debian Codegraph @

src/helper/helperkiller.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "helperids.h"
7 #include <QDBusAbstractAdaptor>
8 #include <QObject>
9
10 class QDBusMessage;
11
12 class HelperKiller final : public QDBusAbstractAdaptor
13 {
14 Q_OBJECT
15 Q_CLASSINFO("D-Bus Interface", DBUS_HELPER_KILLER_INTERFACE)
16 public:
17 HelperKiller(QObject *parent) noexcept;
18 ~HelperKiller();
19
20 public slots: // D-Bus interface slots
21 bool start(QDBusMessage const &message) const;
22
23 private:
24 bool isAuthorized(QDBusMessage const &message) const;
25 };