1/*
2 SPDX-FileCopyrightText: 2010 Dario Freddi <drf@kde.org>
3 SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#ifndef FAKEHELPERPROXY_H
9#define FAKEHELPERPROXY_H
10
11#include "HelperProxy.h"
12
13namespace KAuth
14{
15class FakeHelperProxy : public HelperProxy
16{
17 Q_OBJECT
18 Q_INTERFACES(KAuth::HelperProxy)
19
20public:
21 FakeHelperProxy();
22 ~FakeHelperProxy() override;
23
24 void sendProgressStepData(const QVariantMap &step) override;
25 void sendProgressStep(int step) override;
26 void sendDebugMessage(int level, const char *msg) override;
27 bool hasToStopAction() override;
28 void setHelperResponder(QObject *o) override;
29 bool initHelper(const QString &name) override;
30 void stopAction(const QString &action, const QString &helperID) override;
31 void executeAction(const QString &action, const QString &helperID, const DetailsMap &details, const QVariantMap &arguments, int timeout = -1) override;
32 int callerUid() const override;
33};
34
35}
36
37#endif // FAKEHELPERPROXY_H
38

source code of kauth/src/backends/fakehelper/FakeHelperProxy.h