diff options
Diffstat (limited to 'src/gpg/function/GpgCommandExecutor.h')
-rw-r--r-- | src/gpg/function/GpgCommandExecutor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpg/function/GpgCommandExecutor.h b/src/gpg/function/GpgCommandExecutor.h index a6eaaf4a..f28caca8 100644 --- a/src/gpg/function/GpgCommandExecutor.h +++ b/src/gpg/function/GpgCommandExecutor.h @@ -25,7 +25,9 @@ #ifndef GPGFRONTEND_ZH_CN_TS_GPGCOMMANDEXECUTOR_H #define GPGFRONTEND_ZH_CN_TS_GPGCOMMANDEXECUTOR_H +#ifndef WINDOWS #include <boost/process.hpp> +#endif #include "gpg/GpgContext.h" #include "gpg/GpgFunctionObject.h" @@ -33,10 +35,13 @@ namespace GpgFrontend { class GpgCommandExecutor : public SingletonFunctionObject<GpgCommandExecutor> { public: + +#ifndef WINDOWS void Execute(StringArgsRef arguments, const std::function<void(boost::process::async_pipe &in, boost::process::async_pipe &out)> &interact_func); +#endif private: GpgContext &ctx = GpgContext::GetInstance(); |