aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/function/GpgCommandExecutor.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-02 22:44:09 +0000
committerSaturneric <[email protected]>2021-12-04 19:28:28 +0000
commitea7c0113486f336f3fe14435e1ce5eb55ad4eca9 (patch)
tree8f1c5c61be4d55df5e7efad79e16f9c0212510db /src/gpg/function/GpgCommandExecutor.h
parentFixed (diff)
downloadGpgFrontend-ea7c0113486f336f3fe14435e1ce5eb55ad4eca9.tar.gz
GpgFrontend-ea7c0113486f336f3fe14435e1ce5eb55ad4eca9.zip
Fixed
1. Ci Fixed for New Version. 2. Bugs fixed for cross-platform. 3. Bugs fixed for i18n.
Diffstat (limited to 'src/gpg/function/GpgCommandExecutor.h')
-rw-r--r--src/gpg/function/GpgCommandExecutor.h5
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();