summaryrefslogtreecommitdiff
path: root/src/Process.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-03 07:10:32 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-03 07:10:32 +0100
commitdb4d104ed965592c1d89c31d96301f0a44640df7 (patch)
tree89aa5b8db92a890ac0ea03a1f69f2250957d5391 /src/Process.hpp
parent053b44639f28f018a51a5aada6548f212ad1b372 (diff)
Integrate windows process
Diffstat (limited to 'src/Process.hpp')
-rw-r--r--src/Process.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Process.hpp b/src/Process.hpp
index 3265cc9..e1f71ad 100644
--- a/src/Process.hpp
+++ b/src/Process.hpp
@@ -1,5 +1,4 @@
#include <string>
-
#define ENGINE_TIMEOUT 5 // In seconds
#define BUFFER_SIZE 1024
@@ -12,7 +11,8 @@ public:
virtual void Kill() = 0;
/// @brief Start the engine from file path
virtual void Start(std::string) = 0;
- /// @brief Read one line from the stdout of the engine (could raise a ReadTimeoutExpire)
+ /// @brief Read one line from the stdout of the engine (could raise a
+ /// ReadTimeoutExpire)
virtual std::string ReadLine() = 0;
/// @brief Write to engine stdin
virtual void Write(std::string) = 0;