Changeset View
Changeset View
Standalone View
Standalone View
src/HelperProxy.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 38 | public: | |||
---|---|---|---|---|---|
45 | 45 | | |||
46 | // Helper-side methods | 46 | // Helper-side methods | ||
47 | virtual bool initHelper(const QString &name) = 0; | 47 | virtual bool initHelper(const QString &name) = 0; | ||
48 | virtual void setHelperResponder(QObject *o) = 0; | 48 | virtual void setHelperResponder(QObject *o) = 0; | ||
49 | virtual bool hasToStopAction() = 0; | 49 | virtual bool hasToStopAction() = 0; | ||
50 | virtual void sendDebugMessage(int level, const char *msg) = 0; | 50 | virtual void sendDebugMessage(int level, const char *msg) = 0; | ||
51 | virtual void sendProgressStep(int step) = 0; | 51 | virtual void sendProgressStep(int step) = 0; | ||
52 | virtual void sendProgressStep(const QVariantMap &step) = 0; | 52 | virtual void sendProgressStep(const QVariantMap &step) = 0; | ||
53 | virtual bool isUnixFileDescriptorPassingSupported() const = 0; | ||||
53 | 54 | | |||
54 | Q_SIGNALS: | 55 | Q_SIGNALS: | ||
55 | void actionStarted(const QString &action); | 56 | void actionStarted(const QString &action); | ||
56 | void actionPerformed(const QString &action, const KAuth::ActionReply &reply); | 57 | void actionPerformed(const QString &action, const KAuth::ActionReply &reply); | ||
57 | void progressStep(const QString &action, int progress); | 58 | void progressStep(const QString &action, int progress); | ||
58 | void progressStep(const QString &action, const QVariantMap &data); | 59 | void progressStep(const QString &action, const QVariantMap &data); | ||
59 | }; | 60 | }; | ||
60 | 61 | | |||
61 | } // namespace KAuth | 62 | } // namespace KAuth | ||
62 | 63 | | |||
63 | Q_DECLARE_INTERFACE(KAuth::HelperProxy, "org.kde.kf5auth.HelperProxy/0.1") | 64 | Q_DECLARE_INTERFACE(KAuth::HelperProxy, "org.kde.kf5auth.HelperProxy/0.1") | ||
64 | 65 | | |||
65 | #endif | 66 | #endif |