29 #ifndef GPGFRONTEND_ZH_CN_TS_GPGCOMMANDEXECUTOR_H
30 #define GPGFRONTEND_ZH_CN_TS_GPGCOMMANDEXECUTOR_H
33 #include <boost/process.hpp>
36 #include "core/GpgContext.h"
37 #include "core/GpgFunctionObject.h"
38 #include "core/thread/Task.h"
64 std::string cmd, std::vector<std::string> arguments,
65 std::function<
void(
int, std::string, std::string)> callback =
66 [](
int, std::string, std::string) {},
67 std::function<void(QProcess *)> interact_func = [](QProcess *) {});
69 void ExecuteConcurrently(
70 std::string cmd, std::vector<std::string> arguments,
71 std::function<
void(
int, std::string, std::string)> callback,
72 std::function<
void(QProcess *)> interact_func = [](QProcess *) {});
Extra commands related to GPG.
Definition: GpgCommandExecutor.h:47
Definition: GpgContext.h:66
Definition: GpgFunctionObject.h:150
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:251
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:172
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:258
Definition: CoreCommonUtil.cpp:31