8#ifndef KAUTH_HELPER_SUPPORT_H
9#define KAUTH_HELPER_SUPPORT_H
14#include "kauthcore_export.h"
25#define KAUTH_HELPER_MAIN(ID, HelperClass) \
26 int main(int argc, char **argv) \
28 return KAuth::HelperSupport::helperMain(argc, argv, ID, new HelperClass()); \
44namespace HelperSupport
103KAUTHCORE_EXPORT
int helperMain(
int argc,
char **argv,
const char *
id, QObject *responder);
void progressStep(int step)
Send a progressStep signal to the caller application.
bool isStopped()
Check if the caller asked the helper to stop the execution.
int callerUid()
Obtains the caller user id if available.
int helperMain(int argc, char **argv, const char *id, QObject *responder)
Method that implements the main function of the helper tool.