aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/function/GpgCommandExecutor.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-14 19:06:35 +0000
committerSaturneric <[email protected]>2022-01-14 19:06:35 +0000
commit79012d51c0e3e8616d8027c3ea2b5a6d2cd92573 (patch)
tree69adfe59ea26f74e7c3552564ca21e443f699472 /src/gpg/function/GpgCommandExecutor.h
parent<fix>(ci): Fix problem in ci file (diff)
downloadGpgFrontend-79012d51c0e3e8616d8027c3ea2b5a6d2cd92573.tar.gz
GpgFrontend-79012d51c0e3e8616d8027c3ea2b5a6d2cd92573.zip
<doc>(core): Start adding comments to code
Diffstat (limited to 'src/gpg/function/GpgCommandExecutor.h')
-rw-r--r--src/gpg/function/GpgCommandExecutor.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gpg/function/GpgCommandExecutor.h b/src/gpg/function/GpgCommandExecutor.h
index dcdd318d..6979d5f6 100644
--- a/src/gpg/function/GpgCommandExecutor.h
+++ b/src/gpg/function/GpgCommandExecutor.h
@@ -33,6 +33,11 @@
#include "gpg/GpgFunctionObject.h"
namespace GpgFrontend {
+
+/**
+ * @brief
+ *
+ */
class GpgCommandExecutor : public SingletonFunctionObject<GpgCommandExecutor> {
public:
explicit GpgCommandExecutor(
@@ -40,6 +45,13 @@ class GpgCommandExecutor : public SingletonFunctionObject<GpgCommandExecutor> {
: SingletonFunctionObject<GpgCommandExecutor>(channel) {}
#ifndef WINDOWS
+
+ /**
+ * @brief
+ *
+ * @param arguments
+ * @param interact_func
+ */
void Execute(StringArgsRef arguments,
const std::function<void(boost::process::async_pipe &in,
boost::process::async_pipe &out)>