31 #include "core/module/Module.h"
35 using GpgCommandExecutorCallback = std::function<void(
int, QString, QString)>;
36 using GpgCommandExecutorInteractor = std::function<void(QProcess *)>;
46 QStringList arguments;
47 GpgCommandExecutorCallback cb_func;
48 GpgCommandExecutorInteractor int_func;
49 Module::TaskRunnerPtr task_runner =
nullptr;
52 QString cmd, QStringList arguments,
53 GpgCommandExecutorCallback callback = [](
int,
const QString &,
55 Module::TaskRunnerPtr task_runner =
nullptr,
56 GpgCommandExecutorInteractor int_func = [](QProcess *) {});
59 using ExecuteContexts = QList<ExecuteContext>;
69 static void ExecuteConcurrentlyAsync(ExecuteContexts);
71 static void ExecuteConcurrentlySync(ExecuteContexts);
Extra commands related to GPG.
Definition: GpgCommandExecutor.h:42
Definition: GpgCommandExecutor.h:44